A number necklace is a generalized Fibonacci-style sequence modulo n. All are periodic. This tool will calculate all distinct number necklaces for a given modulus and display them, along with their period lengths, in increasing order of period.
jessefischer / numnec Goto Github PK
View Code? Open in Web Editor NEWNumber Necklace Generator
Home Page: https://jessefischer.github.io/numnec/
License: MIT License