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
T. D. Noe, Table of n, a(n) for n = 0..10000
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
KEYWORD
AUTHOR
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