OFFSET
0,3
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..63
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
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy, May 03 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), May 17 2001
STATUS
approved