login
A249828
a(n+1) is the next smallest nontrivial cube beginning with a(n), initial term is 6.
2
6, 64, 6434856, 64348563687280925127256, 6434856368728092512725673603219352207940941512476919680996778471241599
OFFSET
1,1
COMMENTS
a(6) is a 212-digit number. - Jon E. Schoenfield, Dec 05 2014
LINKS
Jon E. Schoenfield, Table of n, a(n) for n = 1..7
PROG
(Python)
def f(x):
..n = x
..s = 1
..while s < 10**7:
....if s % 10:
......S = str(s**3)
......if S.startswith(str(n)):
........print(s**3, end=', ')
........n = s**3
....s += 1
f(6)
(PARI) a(n)=k=n; s=1; while(s<10^7, if(s%10, if(s^3\(10^(#Str(s^3)-#Str(k)))==k, print1(s^3, ", "); k=s^3)); s++)
a(6)
CROSSREFS
Sequence in context: A333983 A087488 A249896 * A179879 A350946 A297516
KEYWORD
nonn,base
AUTHOR
Derek Orr, Dec 03 2014
EXTENSIONS
a(5) from Jon E. Schoenfield, Dec 05 2014
STATUS
approved