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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104867 Records in A104865. 7
10, 22, 44, 49, 57, 70, 71, 82, 98, 100 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Start with decimal expansion of pi: s0=3,1,4,1,5,9,2,6,5,3,5,8,9,7,9,3,2,3,8,4,6,2,6,4,3,3,8,3,2,7,9,5,0,2,8,8,4,1,9,7,1,6,9,3,9,9,3,7,5,1,0,5,8,2,0,9,7,4,9,4,4,5,... Divide s0 to the sections with the same final digits: s={3,1,4,1,5,9,2,6,5,3}, {5,8,9,7,9,3,2,3,8,4,6,2,6,4,3,3,8,3,2,7,9,5}, {0,2,8,8,4,1,9,7,1,6,9,3,9,9,3,7,5,1,0}, {5,8,2,0,9,7,4,9,4,4,5},... Then A104865(n) = length of s(n): 10,22,19,11,... A104866(n) = initial/final digits of s(n): 3,5,0,5,... A104867 gives records in A104865.

MATHEMATICA

pi = RealDigits[Pi, 10, 250000][[1]]; lst = {}; f := Block[{k = Position[pi, pi[[1]]][[2, 1]]}, pi = Drop[pi, k]; k]; Do[lst = {lst, f}, {n, 22500}]; lst = Flatten[lst]; lsu = {}; a = 0; Do[ If[lst[[n]] > a, a = lst[[n]]; AppendTo[lsu, a]], {n, 22500}]; lsu (from Robert G. Wilson v Mar 29 2005)

CROSSREFS

Cf. A104865, A104866, A104868, A104869, A104870, A104871.

Sequence in context: A014367 A063710 A157917 * A179877 A079861 A014008

Adjacent sequences:  A104864 A104865 A104866 * A104868 A104869 A104870

KEYWORD

nonn,base

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Mar 29 2005

EXTENSIONS

a(7), a(8), a(9) & a(10) from Robert G. Wilson v (rgwv(AT)rgwv.com), Mar 29 2005

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 17 12:23 EST 2012. Contains 206011 sequences.