cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A249804 a(n+1) is the next smallest nontrivial cube beginning with a(n), initial term is 4.

This page as a plain text file.
%I A249804 #38 May 22 2025 10:21:41
%S A249804 4,4096,409675763483,4096757634832457594649749511342547903
%N A249804 a(n+1) is the next smallest nontrivial cube beginning with a(n), initial term is 4.
%C A249804 a(5) is a 110-digit number. - _Jon E. Schoenfield_, Dec 04 2014
%H A249804 Jon E. Schoenfield, <a href="/A249804/b249804.txt">Table of n, a(n) for n = 1..7</a>
%o A249804 (Python)
%o A249804 def f(x):
%o A249804   n = x
%o A249804   s = 1
%o A249804   while s < 10**7:
%o A249804     if s % 10:
%o A249804       S = str(s**3)
%o A249804       if S.startswith(str(n)):
%o A249804         print(s**3, end=', ')
%o A249804         n = s**3
%o A249804     s += 1
%o A249804 f(4)
%o A249804 (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 A249804 a(4)
%Y A249804 Cf. A048559, A249799.
%K A249804 nonn,base
%O A249804 1,1
%A A249804 _Derek Orr_, Dec 03 2014
%E A249804 a(4) from _Jon E. Schoenfield_, Dec 04 2014