login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A120584 Distance between n-1 and n in decimal expansion of Pi A000796. 0
33, 5, 16, 11, 6, 20, 8, 1, 2, 21, 41, 11, 46, 61, 14, 19, 82, 32, 18, 49, 105, 50, 11, 37, 105, 19, 19, 136, 113, 34, 234, 77, 66, 166, 1, 51, 109, 98, 42, 19, 20, 154, 49, 26, 25, 44, 111, 93, 46, 40, 265, 77, 69, 182, 421, 286, 154, 9, 3, 24, 64, 22, 61, 69, 85, 21, 28 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

COMMENTS

a(0)=33 because position of first zero is 33; after this zero, "1" is at position 5, hence a(1)=5; after this 1, "2" is at position 16, hence a(2)=16; after this 2, "3" is at position 11, hence a(3)=11 etc.

MATHEMATICA

ts=ToString[FromDigits[RealDigits[N[Pi, 20000]][[1]]]]; Reap[Do[sp=StringPosition[ts, ToString[n]][[1, 1]]; Sow[sp]; ts=StringDrop[ts, sp], {n, 0, 100}]][[2, 1]]

CROSSREFS

Cf. A000796.

Sequence in context: A135088 A113467 A113458 * A123173 A147021 A200897

Adjacent sequences:  A120581 A120582 A120583 * A120585 A120586 A120587

KEYWORD

base,nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Aug 17 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 10:53 EST 2012. Contains 205904 sequences.