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.

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

Original entry on oeis.org

3, 343, 34328125, 343281258441879199985152, 3432812584418791999851522633552283890505384030397984598615707004422070464
Offset: 1

Views

Author

Derek Orr, Dec 03 2014

Keywords

Comments

Terms a(6) and a(7) are 219 and 658 digits long, respectively. - Jon E. Schoenfield, Aug 06 2017

Crossrefs

Programs

  • 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(3)
  • 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(3)