The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A035331 Base-1000 expansion of Pi. 4
3, 141, 592, 653, 589, 793, 238, 462, 643, 383, 279, 502, 884, 197, 169, 399, 375, 105, 820, 974, 944, 592, 307, 816, 406, 286, 208, 998, 628, 34, 825, 342, 117, 67, 982, 148, 86, 513, 282, 306, 647, 93, 844, 609, 550, 582, 231, 725, 359, 408, 128, 481, 117, 450 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Start with a(0)=3; other terms are formed from triples of successive digits in the decimal expansion of Pi.
This sequence can be considered as a (pseudo)random generator with range 0..999. Its scatterplot graph is very similar to that of other random generators, e.g., A096558. - M. F. Hasler, May 14 2015
LINKS
FORMULA
a(n) = floor(Pi*10^(3n)) mod 1000. - M. F. Hasler, May 14 2015
EXAMPLE
Pi = 3.141 592 653 589 793 238 462 643 383 279 502 884 197 169 399 375 105 ...
MATHEMATICA
RealDigits[Pi, 1000, 60][[1]] (* Harvey P. Dale, Nov 22 2015 *)
PROG
(PARI) default(realprecision, 3*N=100); vector(N, i, Pi\1000^(1-i)%1000) \\ or: {P=Pi; vector(N, i, P\1+0*P=frac(P)*1000)} or {P=Pi/1000; vector(N, i, floor(P=frac(P)*1000))}. \\ M. F. Hasler, May 11 2015
CROSSREFS
Sequence in context: A191958 A224707 A288922 * A050819 A255190 A037121
KEYWORD
nonn,base,easy,look
AUTHOR
Joerg Zurkirchen (joerg.zurkirchen(AT)credit-suisse.ch)
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), Oct 04 2001
Better definition from Franklin T. Adams-Watters, Apr 10 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 6 09:23 EDT 2024. Contains 373119 sequences. (Running on oeis4.)