A JavaScript program to check if the number of rotations of an element is greater than the element itself, using k-cyclic shifts.
NOTE: A k-cyclic shift of integer n is a function that removes the last k digits of n and inserts them in its beginning.
Download the code, then run K-Cycles.html
in your terminal.