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.

A373304 Decimal digits from Pi selected by stepping forward d+1 places at digit d, i.e., by skipping the next d places.

Original entry on oeis.org

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

Views

Author

Karl Levy, May 31 2024

Keywords

Comments

Are the digits uniformly distributed? Are all consecutive digit subsequences uniformly distributed?

Examples

			The sequence starts with the first digit of the decimal expansion of Pi, which is 3. The next term is the digit 3+1 places after this, namely, 5, and so on.
The digits selected from Pi begin
  Pi = 3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5, 8, 9, 7, 9, 3, 2, 3, 8, 4, ...
       ^           ^                 ^                 ^        ^
		

Crossrefs

Cf. A000796.
Cf. A373079.

Programs

  • Mathematica
    a={3}; s=1; For[n=2, n<=100, n++, s+=1+Part[a,n-1]; digits=First[RealDigits[Pi,10,s]]; AppendTo[a,Part[digits,s]]]; a

Formula

a(n) = the (n+a(1)+a(2)+...+a(n-1))-th digit in the decimal expansion of Pi.

A373307 Binary digits of Pi selected by stepping forward d+1 places at digit d, i.e., by skipping the next d places.

Original entry on oeis.org

1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0
Offset: 1

Views

Author

Karl Levy, May 31 2024

Keywords

Comments

Are the digits uniformly distributed? Are all digit sequences uniformly distributed?

Examples

			The sequence starts with the first digit of the binary expansion of Pi, which is 1. The next term is the digit 1+1 places after this, namely, 0, and so on.
The digits selected from Pi begin
  Pi=1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, ...
     ^     ^  ^  ^     ^  ^     ^  ^  ^  ^     ^
		

Crossrefs

Programs

  • Mathematica
    a={1}; s=1; For[n=2, n<=100, n++, s+=Part[a,n-1]+1; digits=First[RealDigits[Pi,2,s]]; AppendTo[a,Part[digits,s]]]; a

Formula

a(n) = the (n+a(1)+a(2)+...+a(n-1))-th digit in the binary expansion of Pi.
Showing 1-2 of 2 results.