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!)
A231254 Odious primes p (A027697) such that p^2 and p^3 are evil (A027699). 1
37, 47, 107, 137, 233, 331, 463, 491, 557, 587, 607, 631, 653, 733, 823, 829, 883, 947, 971, 997, 1153, 1187, 1193, 1231, 1249, 1321, 1327, 1493, 1543, 1567, 1663, 1667, 1669, 1709, 1787, 1801, 1933, 1987, 2011, 2027, 2087, 2143, 2161, 2213, 2269, 2273, 2311 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Sequence {a(n)^4} is a subsequence of A227891 such that a(1)^4 = 1874161 is the smallest power of an odious prime that is in A227891.
LINKS
MATHEMATICA
evilQ[n_]:=EvenQ[DigitCount[n, 2][[1]]];
odiousQ[n_]:=OddQ[DigitCount[n, 2][[1]]];
Select[Range[2000], PrimeQ[#]&&odiousQ[#]&&evilQ[#^2]&&evilQ[#^3]&] (* Peter J. C. Moses, Nov 08 2013 *)
CROSSREFS
Sequence in context: A244356 A159750 A108333 * A218834 A039465 A083240
KEYWORD
nonn,base
AUTHOR
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 25 10:01 EDT 2024. Contains 371967 sequences. (Running on oeis4.)