%I #21 Aug 28 2016 18:18:33
%S 3,141,592,653,589,793,238,462,643,383,279,502,884,197,169,399,375,
%T 105,820,974,944,592,307,816,406,286,208,998,628,34,825,342,117,67,
%U 982,148,86,513,282,306,647,93,844,609,550,582,231,725,359,408,128,481,117,450
%N Base-1000 expansion of Pi.
%C Start with a(0)=3; other terms are formed from triples of successive digits in the decimal expansion of Pi.
%C 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
%H T. D. Noe, <a href="/A035331/b035331.txt">Table of n, a(n) for n = 0..10000</a>
%F a(n) = floor(Pi*10^(3n)) mod 1000. - _M. F. Hasler_, May 14 2015
%e Pi = 3.141 592 653 589 793 238 462 643 383 279 502 884 197 169 399 375 105 ...
%t RealDigits[Pi,1000,60][[1]] (* _Harvey P. Dale_, Nov 22 2015 *)
%o (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
%Y Cf. A000796, A016062, A037244, A050819, A032445, A064467.
%K nonn,base,easy,look
%O 0,1
%A Joerg Zurkirchen (joerg.zurkirchen(AT)credit-suisse.ch)
%E More terms from Larry Reeves (larryr(AT)acm.org), Oct 04 2001
%E Better definition from _Franklin T. Adams-Watters_, Apr 10 2006
|