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!)
A219189 Parity of pi(5^n). 0

%I #11 Nov 14 2012 12:57:48

%S 0,1,1,0,0,1,1,1,0,1,1,0,1,1,0,0,1,1,1,1,1,1,0,1,1,0,1,1,0,0,1,0,1,1,

%T 1,1,1,1,1

%N Parity of pi(5^n).

%C The parity of pi(n) is obtained without calculating pi(n), and much more quickly. See the paper below.

%H Henri Lifchitz, <a href="http://www.primenumbers.net/Henri/us/ParPius.htm">Parity of pi(n)</a>

%e a(4) = pi(5^4) mod 2 = 114 mod 2 = 0.

%t Table[Mod[PrimePi[5^n], 2], {n, 10}]

%Y Cf. A006880, A219071, A219097, A219098.

%K nonn

%O 0

%A _Henri Lifchitz_, Nov 14 2012

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 April 23 06:58 EDT 2024. Contains 371906 sequences. (Running on oeis4.)