%I #39 Dec 19 2014 19:48:30
%S 6,64,6434856,64348563687280925127256,
%T 6434856368728092512725673603219352207940941512476919680996778471241599
%N a(n+1) is the next smallest nontrivial cube beginning with a(n), initial term is 6.
%C a(6) is a 212-digit number. - _Jon E. Schoenfield_, Dec 05 2014
%H Jon E. Schoenfield, <a href="/A249828/b249828.txt">Table of n, a(n) for n = 1..7</a>
%o (Python)
%o def f(x):
%o ..n = x
%o ..s = 1
%o ..while s < 10**7:
%o ....if s % 10:
%o ......S = str(s**3)
%o ......if S.startswith(str(n)):
%o ........print(s**3, end=', ')
%o ........n = s**3
%o ....s += 1
%o f(6)
%o (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++)
%o a(6)
%Y Cf. A249799, A249896.
%K nonn,base
%O 1,1
%A _Derek Orr_, Dec 03 2014
%E a(5) from _Jon E. Schoenfield_, Dec 05 2014
|