login
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).
0
1, 2, 6, 21, 2145, 2145, 2685, 6225, 6885
OFFSET
1,2
EXAMPLE
a(5) = 2145 because 2 divides 5214, 3 divides 4521, 4 divides 1452 and 5 divides 2145.
CROSSREFS
Sequence in context: A181754 A367678 A368005 * A156155 A317725 A263486
KEYWORD
base,nonn,easy,fini,full
AUTHOR
Amarnath Murthy, May 31 2003
EXTENSIONS
Edited and extended by David Wasserman, Dec 20 2004
STATUS
approved