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!)
A237989 Numbers m such that the numbers of primes, even positive integers and odd positive integers less than or equal to m are all odd. 2
2, 6, 18, 26, 34, 42, 50, 70, 74, 78, 86, 98, 106, 110, 130, 138, 150, 158, 162, 170, 198, 214, 218, 222, 234, 238, 242, 246, 250, 258, 262, 270, 278, 286, 290, 310, 314, 334, 354, 358, 370, 382, 390, 394, 402, 406, 442, 450, 454, 462, 470, 474, 478, 490, 502 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
Intersection of A042963 (odd number of odd numbers), A042964 (odd number of even numbers), A057812 (odd number of primes). - Michel Marcus, Feb 26 2014
EXAMPLE
A cubic die whose faces are marked with the numbers from 1 to 6 has odd number of sides marked with prime numbers (2, 3 and 5), even integers (2, 4 and 6) and odd integers (1, 3 and 5). Therefore, 6 is in the sequence.
PROG
(PARI) isok(n) = (primepi(n) % 2) && ((n % 4) == 2); \\ Michel Marcus, Mar 12 2014
CROSSREFS
Sequence in context: A275990 A220142 A032649 * A185382 A257065 A066286
KEYWORD
nonn,easy
AUTHOR
Ivan N. Ianakiev, Feb 16 2014
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 April 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)