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!)
A057811 pi(n) is even. 2
1, 3, 4, 7, 8, 9, 10, 13, 14, 15, 16, 19, 20, 21, 22, 29, 30, 37, 38, 39, 40, 43, 44, 45, 46, 53, 54, 55, 56, 57, 58, 61, 62, 63, 64, 65, 66, 71, 72, 79, 80, 81, 82, 89, 90, 91, 92, 93, 94, 95, 96, 101, 102, 107, 108, 113, 114, 115, 116, 117, 118, 119 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Ping Ngai Chung and Shiyu Li, On the residue classes of π(n) modulo t, INTEGERS: Electronic Journal of Combinatorial Number Theory 13 (2013), A79.
FORMULA
Chang & Li show that a(n) < 64n + o(1), and a(n) < 8n + o(1) under the Hardy-Littlewood prime tuples conjecture. - Charles R Greathouse IV, Dec 19 2014
MATHEMATICA
Select[Range[120], EvenQ[PrimePi[#]]&] (* Harvey P. Dale, Apr 10 2024 *)
PROG
(PARI) is(n)=primepi(n)%2==0 \\ Charles R Greathouse IV, Dec 19 2014
CROSSREFS
Sequence in context: A232779 A086986 A346126 * A284489 A026343 A080722
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 07 2000
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 May 11 02:35 EDT 2024. Contains 372388 sequences. (Running on oeis4.)