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-2 of 2 results.

A011551 Decimal expansion of phi truncated to n places.

Original entry on oeis.org

1, 16, 161, 1618, 16180, 161803, 1618033, 16180339, 161803398, 1618033988, 16180339887, 161803398874, 1618033988749, 16180339887498, 161803398874989, 1618033988749894, 16180339887498948, 161803398874989484, 1618033988749894848, 16180339887498948482
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A001622 (phi), A138116 (triangle of digits), A195607 (fraction), A276198 (next prime).
Palindromes: A135699, A135700.

Programs

  • Mathematica
    With[{phi=RealDigits[GoldenRatio,10,50][[1]]},Table[FromDigits[ Take[ phi,n]],{n,20}]] (* Harvey P. Dale, Feb 03 2012 *)
  • PARI
    my(phi=quadgen(5)); a(n) = floor(phi*10^n); \\ Kevin Ryde, Jun 05 2021

A139261 Triangle read by rows: row n lists the first n digits of the decimal expansion of Euler's constant (or Euler-Mascheroni constant) gamma.

Original entry on oeis.org

5, 5, 7, 5, 7, 7, 5, 7, 7, 2, 5, 7, 7, 2, 1, 5, 7, 7, 2, 1, 5, 5, 7, 7, 2, 1, 5, 6, 5, 7, 7, 2, 1, 5, 6, 6, 5, 7, 7, 2, 1, 5, 6, 6, 4, 5, 7, 7, 2, 1, 5, 6, 6, 4, 9, 5, 7, 7, 2, 1, 5, 6, 6, 4, 9, 0, 5, 7, 7, 2, 1, 5, 6, 6, 4, 9, 0, 1
Offset: 1

Views

Author

Omar E. Pol, May 01 2008

Keywords

Comments

Also, successive digits of A139260.

Examples

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

Crossrefs

Decimal expansion of gamma: A001620.

Programs

  • Mathematica
    a[n_]:=FromDigits[RealDigits[EulerGamma,10,n][[1]]];IntegerDigits/@Array[a,12]//Flatten (* James C. McMahon, Jun 29 2025 *)
Showing 1-2 of 2 results.