login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A086399 Even digits of Pi. 1

%I

%S 4,2,6,8,2,8,4,6,2,6,4,8,2,0,2,8,8,4,6,0,8,2,0,4,4,4,2,0,8,6,4,0,6,2,

%T 8,6,2,0,8,8,6,2,8,0,4,8,2,4,2,0,6,8,2,4,8,0,8,6,2,8,2,0,6,6,4,0,8,4,

%U 4,6,0,0,8,2,2,2,4,0,8,2,8,4,8,4,0,2,8,4,0,2,0,8,2,0,6,4,4,6,2,2,4,8,4,0,8

%N Even digits of Pi.

%C In the early stages up to 100000 there are a few more odd digits in Pi than even.

%t Select[RealDigits[Pi,10,200][[1]],EvenQ] (* _Harvey P. Dale_, Apr 05 2016 *)

%o (PARI) evenpi(n) = { default(realprecision,20000); p = Pi/10; s = 0; default(realprecision,28); for(x=1,n, d = p*10; d1=floor(d); if(d1%2==0,print1(d1","); s++; ); p = frac(d); ); print(); print(s) }

%K nonn,base

%O 1,1

%A _Cino Hilliard_, Sep 06 2003

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 25 19:28 EDT 2020. Contains 338012 sequences. (Running on oeis4.)