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.

Showing 1-4 of 4 results.

A052384 Number of letters in the n-th decimal digit of Pi (in English).

Original entry on oeis.org

3, 4, 3, 4, 4, 3, 3, 4, 5, 4, 5, 4, 5, 4, 5, 3, 5, 5, 4, 3, 3, 3, 4, 5, 5, 5, 5, 3, 5, 4, 4, 4, 3, 5, 5, 4, 3, 4, 5, 3, 3, 4, 5, 4, 4, 5, 5, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 4, 4, 4, 4, 4, 3, 5, 4, 5, 5, 3, 3, 4, 4, 3, 3, 5, 3, 3, 4, 5, 4, 4, 5, 3, 3, 5, 4, 5, 4, 5, 3, 4, 5, 4, 3, 3, 3, 5, 4, 3, 5, 4, 5, 3, 3, 4, 5
Offset: 2

Views

Author

Olivier Herz (olivier.herz(AT)mines.org), Mar 10 2000

Keywords

Crossrefs

Cf. A005589.

Programs

Formula

a(n) = A005589(A000796(n)). - R. J. Mathar, Jun 30 2020
a(n) = A107488(n). - R. J. Mathar, Jun 30 2020

Extensions

More terms from Larry Reeves (larryr(AT)acm.org), Oct 02 2000
Offset set to 2. - R. J. Mathar, Jun 30 2020

A242898 Cumulative number of letters in decimal expansion of Pi being spoken in English as "Three Point One Four One...".

Original entry on oeis.org

5, 10, 13, 17, 20, 24, 28, 31, 34, 38, 43, 47, 52, 56, 61, 65, 70, 73, 78, 83, 87, 90, 93, 96, 100, 105, 110, 115, 120, 123, 128, 132, 136, 140, 143, 148, 153, 157, 160, 164, 169, 172, 175, 179, 184, 188, 192, 197, 202, 206, 209, 213, 217, 222, 225, 229, 233
Offset: 1

Views

Author

Jonathan Vos Post, May 25 2014

Keywords

Examples

			a(1) = 5 because "Three" has five letters;
a(2) = 10 because "Three Point" has ten letters;
a(3) = 13 because "Three Point One" has thirteen letters.
		

Crossrefs

Programs

Formula

a(n) = 5 + SUM[i=1..n-1] A005589(A000796(i)).
a(n) = 5 + SUM[i=1..n-1] A107488(i).

A108025 Number of letters in the words formed by the digital recitation of phi in the English language.

Original entry on oeis.org

3, 3, 3, 5, 4, 5, 5, 4, 5, 5, 5, 4, 4, 5, 4, 4, 5, 4, 5, 3, 4, 4, 4, 5, 3, 5, 5, 4, 5, 3, 4, 3, 5, 5, 3, 3, 5, 5, 3, 4, 5, 4, 4, 3, 5, 4, 5, 4, 4, 5, 3, 3, 5, 3, 3, 3, 5, 4, 4, 4, 5, 3, 3, 3, 5, 4, 4, 3, 3, 4, 4, 3, 3, 5, 3, 5, 4, 4, 3, 4, 4, 4, 5, 4, 5, 3, 4, 5, 3, 4, 4, 3, 5, 4, 5, 4, 3, 3, 5, 5, 4, 5, 4, 5, 4
Offset: 1

Views

Author

Cino Hilliard, May 31 2005

Keywords

Crossrefs

Programs

  • Mathematica
    RealDigits[ GoldenRatio, 10, 111][[1]] /. {0->4, 1->3, 2->3, 3->5, 5->4, 6->3, 7->5, 8->5, 9->4} (* Robert G. Wilson v, Jun 03 2005 *)
  • PARI
    readphi(n) = { local(x,a,d); default(realprecision,200); d=vector(10); a=vector(n); d[1]=4;d[2]=3;d[3]=3;d[4]=5;d[5]=4;d[6]=4;d[7]=3;d[8]=5;d[9]=5;d[10]=4; a=Vec(Str((sqrt(5)+1)/2)); print1(3","); for(x=3,n-1, y=floor(eval(a[x])); print1(d[y+1]",") ) }

A108026 Number of letters in the words formed by the digital recitation of sqrt(2) in the English language.

Original entry on oeis.org

3, 4, 3, 4, 3, 3, 5, 4, 3, 3, 5, 5, 5, 4, 4, 4, 4, 4, 5, 5, 4, 3, 3, 5, 5, 5, 3, 4, 3, 4, 4, 3, 4, 5, 4, 5, 5, 4, 3, 4, 3, 5, 3, 5, 5, 4, 5, 5, 3, 4, 4, 5, 4, 5, 5, 3, 5, 3, 3, 5, 4, 5, 5, 5, 4, 4, 4, 5, 5, 3, 4, 5, 5, 4, 3, 3, 3, 4, 5, 4, 5, 5, 5, 4, 4, 5, 5, 5, 4, 5, 4, 5, 3, 5, 3, 4, 3, 4
Offset: 1

Views

Author

Cino Hilliard, May 31 2005

Keywords

Crossrefs

Programs

  • Mathematica
    RealDigits[Sqrt[2], 10, 98][[1]] /. {0->4, 1->3, 2->3, 3->5, 5->4, 6->3, 7->5, 8->5, 9->4} (* James C. McMahon, Feb 19 2024 *)
  • PARI
    readsqr2(n) = { local(x,a,d); default(realprecision,200); d=vector(10); a=vector(n); d[1]=4;d[2]=3;d[3]=3;d[4]=5;d[5]=4;d[6]=4;d[7]=3;d[8]=5;d[9]=5;d[10]=4; a=Vec(Str(sqrt(2))); print1(3","); for(x=3,n-1, y=floor(eval(a[x])); print1(d[y+1]",") ) }
Showing 1-4 of 4 results.