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.

A048940 Starting position of the first occurrence of a string of at least n '9's in the decimal expansion of Pi.

Original entry on oeis.org

5, 44, 762, 762, 762, 762, 1722776, 36356642, 564665206, 20148132310, 27014073304, 897831316556, 5758910552709, 5758910552709
Offset: 1

Views

Author

Keywords

Comments

a(10) > 11*10^9 - 1. - Eric W. Weisstein, Jul 20 2013
a(15) > 22*10^12. - Dmitry Petukhov, Jan 29 2020
Pi digits 3,1,4,... are indexed 0,1,2,... Note that this is different from other sequences such as A049522, A084073 which use indices 1,2,3,... For example, the position of the curious accumulation of six 9s is called 762 here; the same position is called 763 in A049522, A084073. - Jeppe Stig Nielsen, Aug 21 2017

Crossrefs

Cf. A000796: Decimal expansion (or digits) of Pi.
First occurrence of n times the same digit: A035117 (n '1's), A050281 (n '2's), A050282, A050283, A050284, A050286, A050287, A048940 (n '9's).
First occurrence of exactly n times the same digit: A096755 (exactly n '1's), A096756, A096757, A096758, A096759, A096760, A096761, A096762, A096763 (exactly n '9's), A050279 (exactly n '0's).
First occurrence of n: A176341; of concatenate(1,...,n): A121280 = A068987 - 1.

Programs

  • Mathematica
    Module[{m, nn = 7}, m = First@ RealDigits@ N[Pi, 10^nn]; Array[ SequencePosition[m, ConstantArray[9, #]][[1, 1]] - 1 &, nn]] (* Michael De Vlieger, Mar 20 2017 *)

Extensions

More terms from Colin Martin (cbmartin(AT)tpg.com.au), Mar 03 2002
Edited by M. F. Hasler, Mar 19 2017
a(10)-a(11) from Giovanni Resta, Sep 30 2019
a(12) from Yasumasa Kanada Laboratory, 2002 and a(13)-a(14) from Shigeru Kondo, 2011 added by Dmitry Petukhov, Dec 23 2019

A082586 Length of the run of consecutive equal digits in the decimal expansion of Pi beginning at position n and ignoring any immediately-previous equal digits.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 1

Views

Author

N. J. A. Sloane, May 12 2003

Keywords

Comments

Digits 3,1,4,... are indexed 1,2,3,...

Examples

			Pi = 3.141592653589793238462643383279502884... and the first run of 2 starts at position 25, so a(n) = 1 for n < 25, a(25) = 2.
Runs of length 2 begin in positions 25,35,45,60,80,95 then not again until 118. Compare A049514 and A049518.
		

Crossrefs

Cf. A084073, A121657 (another version).

Extensions

More terms from Kyle Hoffman (khoffma1(AT)ashland.edu), Apr 01 2004
Definition clarified by Rick L. Shepherd, Aug 26 2006
Showing 1-2 of 2 results.