login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A249834
a(n+1) is the next smallest nontrivial cube beginning with a(n), initial term is 7.
2
7, 729, 7290099019, 72900990191475181426079596544
OFFSET
1,1
COMMENTS
a(5) is an 87-digit number. - Jon E. Schoenfield, Dec 04 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(7)
(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(7)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Derek Orr, Dec 03 2014
EXTENSIONS
a(4) from Jon E. Schoenfield, Dec 04 2014
STATUS
approved