login
A061458
Cubes whose digit reversal is also a cube.
1
0, 1, 8, 343, 1000, 1331, 8000, 343000, 1000000, 1030301, 1331000, 1367631, 8000000, 343000000, 1000000000, 1003003001, 1030301000, 1033364331, 1331000000, 1334633301, 1367631000, 8000000000, 10662526601, 343000000000
OFFSET
0,3
LINKS
EXAMPLE
1000 and 0001 (= 1) are both cubes.
PROG
(PARI) { n=-1; for (m=0, 220100, x=m^3; r=0; while (x>0, d=x-10*(x\10); x\=10; r=r*10 + d); if (r<2, t=0, f=factor(r)~; for(i=1, length(f), if (t=f[2, i]%3, break))); if (t==0, write("b061458.txt", n++, " ", m^3)) ) } \\ Harry J. Smith, Jul 23 2009
CROSSREFS
Sequence in context: A071306 A214511 A117082 * A135067 A002781 A016875
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy, May 03 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), May 17 2001
STATUS
approved