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

A001355 Mix digits of Pi and e.

Original entry on oeis.org

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

Views

Author

Keywords

Examples

			3.21741185298216852385485997... .
		

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Cf. A058382.

Programs

  • Mathematica
    Flatten[Transpose[{RealDigits[Pi, 10, 50][[1]], RealDigits[E, 10, 50][[1]]}]]
    Riffle[RealDigits[Pi, 10, 50][[1]], RealDigits[E, 10, 50][[1]]] (* Robert G. Wilson v, Jun 23 2014 *)

A076790 Interleave digits of Pi and phi-1 (golden section) starting with 3.

Original entry on oeis.org

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

Views

Author

Cino Hilliard, Nov 16 2002

Keywords

Comments

Is the real number 3.611381... irrational? Transcendental?

Examples

			Pi = 3, 1, 4, 1, 5, 9, 2, ...
phi-1 = 6, 1, 8, 0, 3, 3, 9, ...
so we get 3, 6, 1, 1, 4, 8, 1, ... [corrected by _Jesse Fiedler_, Aug 22 2019]
		

Crossrefs

Programs

  • Mathematica
    Riffle[ RealDigits[ Pi, 10, 55][[1]], RealDigits[ GoldenRatio - 1, 10, 55][[1]], 2] (* Robert G. Wilson v, Mar 19 2014 *)
  • PARI
    \\ piphi alternating between Pi and Phi digit sequence
    \\ piphi.gp Pi and phi digits merged
    { piphi(n) = default(realprecision,10000); p = Pi/10; e = (sqrt(5)-1)/2; default(realprecision,28); forstep(x=1,n,2, d = p*10; d1=floor(d); p = frac(d); d2 = e*10; d3 = floor(d2); e = frac(d2); print1(d1" "d3" "); ); }

Extensions

More terms from Robert G. Wilson v, Mar 19 2014
Offset changed by Alois P. Heinz, Aug 22 2024

A284155 Continued fraction expansion of A104691: ePi, digits of e and Pi interleaved.

Original entry on oeis.org

2, 2, 1, 2, 3, 1, 2, 7, 5, 1, 2, 1, 15, 19, 1, 3, 4, 2, 1, 16, 1, 1, 10, 3, 9, 1, 1, 4, 9, 2, 1, 3, 2, 4, 7, 1, 2, 23, 1, 14, 1, 1, 5, 1, 13, 1, 2, 42, 1, 1, 1, 1, 3, 6, 15, 1, 1, 2, 1, 7, 2, 2, 1, 6, 864, 1, 19, 2, 1, 18, 1, 1, 1, 2, 88, 2, 4, 1, 1, 4, 1
Offset: 0

Views

Author

M. F. Hasler, Mar 21 2017

Keywords

Comments

Continued fraction expansion of A104691, as A058382 is the continued fraction expansion of A001355 ("Pie"). Added mainly for completeness, mathematical interest is questionable.

Crossrefs

Programs

  • PARI
    contfrac(eval(Strchr(vector(#(c=apply(c->Vecsmall(Str(c)),[exp(1),Pi]))[1],i,c[i%2+1][i\2+(i!=3)])))-1)
Showing 1-3 of 3 results.