See: https://en.wikipedia.org/wiki/Root_of_unity_modulo_n
kth root of unity modulo n (prime number), such that k
Thanks, David. I will try once again. (I've deleted my previous comment since you changed the problem description and to not confuse people.)
606 Solvers
96 Solvers
Golomb's self-describing sequence (based on Euler 341)
106 Solvers
521 Solvers
70 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!