A cyclic number is a number of “n” digits that when multiplied by 1, 2, 3, …, n results in the same digits but in a different order.

Let’s find out whether 142857 is a cycling number or not
Here the number of digits is equal to 6, Therefore we check whether the given number is cyclic or not by multiplying it by 1, 2, 3, 4, 5, 6.


