OFFSET
1,2
COMMENTS
Includes k if 10^(d-1) <= k^3 < 10^d and k | 10^d-1. Is 2 the only member of the sequence that is not of this form? - Robert Israel, Jun 04 2019
LINKS
Robert Israel, Table of n, a(n) for n = 1..130
EXAMPLE
41 is a term as the cyclic permutations of 41^3 = 68921 are {68921, 89216, 92168, 21689, 16892}
and
68921 = 41*1681;
89216 = 41*2176;
92168 = 41*2248;
21689 = 41*529;
16892 = 41*412.
MAPLE
filter:= proc(n) local d, t, r, i;
d:= ilog10(n^3);
t:= n^3;
for i from 1 to d do
r:= t mod 10;
t:= 10^d*r + (t-r)/10;
if not (t/n)::integer then return false fi;
od;
true
end proc:
select(filter, [$1..10^7]); # Robert Israel, Jun 04 2019
MATHEMATICA
Select[Range[300000], And@@Divisible[FromDigits/@Table[ RotateRight[ IntegerDigits[ #^3], n], {n, IntegerLength[#^3]}], #]&]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Lagneau, May 20 2014
EXTENSIONS
More terms from Robert Israel, Jun 04 2019
STATUS
approved