For k not divisible by 10, let f(k) be the number obtained by moving the last digit of k to the front. Then a(n) is the smallest k > 0, made of nonzero digits, such that for all 1 <= i < n, i+1 divides f^i(k).

A084392

For k not divisible by 10, let f(k) be the number obtained by moving the last digit of k to the front. Then a(n) is the smallest k > 0, made of nonzero digits, such that for all 1 <= i < n, i+1 divides f^i(k).

Terms

    a(0) =1a(1) =2a(2) =6a(3) =21a(4) =2145a(5) =2145a(6) =2685a(7) =6225a(8) =6885

External references