This browser-based prime/lucky numbers generator displays all prime/lucky numbers with up to 5 digits and highlights the intersection of the sets. It can be used for checking, for example, zip codes and street address numbers from places one has lived. The algorithm and animation are based on the sieve of Erastothenes. The code, comments, and console messages are designed for instructional/learning purposes.
https://forgitaboutit.github.io/prime-lucky-numbers-generator/
- JavaScript
- HTML
- CSS