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.

A322776 Scan first k digits of Pi after decimal point, for k = 1,2,3,..., record all distinct numbers in the order in which they appear.

Original entry on oeis.org

1, 14, 4, 141, 41, 1415, 415, 15, 5, 14159, 4159, 159, 59, 9, 141592, 41592, 1592, 592, 92, 2, 1415926, 415926, 15926, 5926, 926, 26, 6, 14159265, 4159265, 159265, 59265, 9265, 265, 65, 141592653, 41592653, 1592653, 592653, 92653, 2653, 653, 53, 3, 1415926535
Offset: 1

Views

Author

N. J. A. Sloane, Jan 03 2019

Keywords

Comments

Skip any "numbers" that begin with 0, except 0 itself.
Presumably this is a permutation of the nonnegative numbers.
All the terms of A039916 appear in order in this sequence. - Rémy Sigrist, Jan 03 2019

Crossrefs

Inspired by A323036.

Programs

  • PARI
    pid=Pi-3; s=Set(); for (k=1, 9, pid*=10; my (f=floor(pid)); forstep (w=k, 1, -1, v=f % (10^w); if (!setsearch(s, v), print1 (v ",
    "); s=setunion(s,Set(v))))) \\ Rémy Sigrist, Jan 03 2019

Extensions

More terms from Rémy Sigrist, Jan 03 2019

A322777 Scan first k digits of Pi starting with 3, for k = 1,2,3,..., record all distinct numbers in the order in which they appear.

Original entry on oeis.org

3, 31, 1, 314, 14, 4, 3141, 141, 41, 31415, 1415, 415, 15, 5, 314159, 14159, 4159, 159, 59, 9, 3141592, 141592, 41592, 1592, 592, 92, 2, 31415926, 1415926, 415926, 15926, 5926, 926, 26, 6, 314159265, 14159265, 4159265, 159265, 59265, 9265, 265, 65, 3141592653
Offset: 1

Views

Author

N. J. A. Sloane, Jan 03 2019

Keywords

Comments

Skip any "numbers" that begin with 0, except 0 itself.
Presumably this is a permutation of the nonnegative numbers.
All the terms of A011545 appear in order in this sequence. - Rémy Sigrist, Jan 03 2019

Crossrefs

Inspired by A323036.

Programs

  • PARI
    pid=Pi; s=Set(); for (k=1, 10, my (f=floor(pid)); forstep (w=k, 1, -1, v=f % (10^w); if (!setsearch(s, v), print1 (v ", "); s=setunion(s,Set(v)))); pid*=10) \\ Rémy Sigrist, Jan 03 2019

Extensions

More terms from Rémy Sigrist, Jan 03 2019

A322778 Position at which n first appears in the continued fraction expansion of Pi.

Original entry on oeis.org

4, 6, 1, 10, 13, 11, 2, 14, 24, 21, 36, 15, 9, 7, 3, 16, 53, 26, 27, 30, 33, 19, 32, 20, 59, 22, 50, 29, 35, 28, 64, 45, 49, 40, 71, 51, 58, 107, 55, 93, 57, 23, 47, 41, 18, 111, 60, 37, 106, 46, 82, 119, 86, 91, 44, 72, 25, 39, 67, 74, 61, 65, 78, 154, 69, 204, 89, 169, 167, 105, 198
Offset: 1

Views

Author

N. J. A. Sloane, Jan 04 2019

Keywords

Comments

This is presumably a permutation of the positive integers, and is the inverse permutation to A154883.

Crossrefs

Showing 1-3 of 3 results.