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.

A095900 a(n) = A004001(10^n).

Original entry on oeis.org

1, 6, 57, 510, 5373, 53505, 510403, 5247173, 52736107, 511172800, 5189628970, 52334438874, 511861449132, 5150236044255, 52074775905991, 512279427101305, 5118687220533539, 51879201305335167, 512519244788358058
Offset: 0

Views

Author

Robert G. Wilson v, Jun 11 2004

Keywords

Comments

a(n)/n -> 10^n/(2*n). [Corrected by Herman Jamke (hermanjamke(AT)fastmail.fm), Apr 28 2007]

Crossrefs

Cf. A004001.

Programs

  • Mathematica
    a[1] = a[2] = 1; a[n_] := a[n] = a[a[n - 1]] + a[n - a[n - 1]]; Do[ a[n], {n, 1000000}]; Table[ a[10^n], {n, 0, 6}]
  • PARI
    print1("1, ");for(k=1,30,n=10^k;row=floor(log(n)/log(2));col=1;s=0;a=0;while(s1,smd=binomial(row,j-2),smd=2^row);if((s+smd)>n,col=j-1;row=row-1;break,s+=smd;if(j>1,a+=binomial(row-1,j-2),a+=2^(row-1)))));print1(a", ")) \\ Herman Jamke (hermanjamke(AT)fastmail.fm), Apr 28 2007

Extensions

2 more terms from Ryan Propper, Jan 05 2007
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Apr 28 2007