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.

A138115 Triangle read by rows: row n lists the first n digits of the decimal expansion of e.

Original entry on oeis.org

2, 2, 7, 2, 7, 1, 2, 7, 1, 8, 2, 7, 1, 8, 2, 2, 7, 1, 8, 2, 8, 2, 7, 1, 8, 2, 8, 1, 2, 7, 1, 8, 2, 8, 1, 8, 2, 7, 1, 8, 2, 8, 1, 8, 2, 2, 7, 1, 8, 2, 8, 1, 8, 2, 8, 2, 7, 1, 8, 2, 8, 1, 8, 2, 8, 4, 2, 7, 1, 8, 2, 8, 1, 8, 2, 8, 4, 5
Offset: 1

Views

Author

Omar E. Pol, Mar 14 2008

Keywords

Comments

Also, successive digits of A011543.

Examples

			Triangle begins:
..... 2
.... 2,7
... 2,7,1
.. 2,7,1,8
. 2,7,1,8,2
		

Crossrefs

Programs

  • Mathematica
    Module[{nn=20,ed},ed=RealDigits[E,10,nn][[1]];Flatten[Table[Take[ed,n],{n,nn}]]] (* Harvey P. Dale, Dec 24 2014 *)