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!)
A239227 Primes p of the form 4k + 3 such that A000120(p) >= A000120(3p). 1
3, 7, 11, 23, 31, 43, 47, 59, 103, 107, 127, 139, 151, 179, 191, 199, 223, 227, 239, 251, 283, 311, 347, 359, 367, 379, 383, 431, 439, 443, 463, 479, 487, 491, 499, 503, 523, 571, 599, 607, 619, 631, 683, 691, 719, 727, 739, 743, 751, 811, 823, 827, 859, 863, 883, 887, 907, 911, 919 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
N:= 1000: # to get all entries <= 4*N+3
P:= select(isprime, [seq(4*i+3, i=0..N)]):
select(p -> convert(convert(p, base, 2), `+`)>=convert(convert(3*p, base, 2), `+`), P);
# Robert Israel, Jun 08 2014
PROG
(PARI) isok(p) = ((p%4) == 3) && (hammingweight(p) >= hammingweight(3*p)) && isprime(p); \\ Michel Marcus, Feb 13 2021
CROSSREFS
Sequence in context: A112038 A097452 A086505 * A154427 A287459 A095102
KEYWORD
nonn
AUTHOR
Irina Gerasimova, Mar 12 2014, a sockpuppet of Juri-Stepan Gerasimov.
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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)