OFFSET
0,1
COMMENTS
a(n) = least nontrivial k>n such that the decimal expansion of k^3 ends in n^3.
EXAMPLE
a(0)=10 because 10^3=1000 ends in 0^3=0
a(1)=11 because 11^3=1331 ends in 1^3=1
a(2)=12 because 12^3=1728 ends in 2^3=8
a(3)=103 because 103^3=1092727 ends in 3^3=27
a(4)=54 because 54^3=157464 ends in 4^3=64.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Zak Seidov, Oct 29 2009
STATUS
approved