Create a computer algorithm that can compute cyclic numbers and write its code in the comments. If you think it isn't possible, vote up my comment that states,"It isn't possible."

In case you didn't know, cyclic numbers are integers which their cyclic permutations (e.g. 123, 231, 321 and 2198, 1982, 9821, 8219 are cyclic permutations) are successive multiples of the number. An example of a cyclic number is 142857. You can check with its cyclic permutations if you want.

## Comments

Sort by:

TopNewestCan you give a positive example of a cyclic number? That would be a good illustration of the concept. – Calvin Lin Staff · 3 years ago

Log in to reply

A search algorithm can readily be written up, but given n digits for such a number, there isn't a guarantee that any exist. – Michael Mendrin · 3 years ago

Log in to reply

It isn't possible. – Sharky Kesa · 3 years ago

Log in to reply