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!)
A102212 Numbers m with A102210(m) = 1. 4
2, 5, 6, 10, 14, 17, 18, 22, 25, 26, 30, 34, 38, 41, 42, 46, 49, 50, 54, 58, 62, 66, 69, 70, 73, 74, 78, 81, 82, 86, 90, 94, 97, 98, 102, 106, 110, 114, 118, 122, 126, 130, 133, 134, 137, 138, 142, 145, 146, 150, 154, 158, 162, 166, 170, 174, 177, 178, 182, 186, 190 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
;
LINKS
FORMULA
A102210(a(n)) = 1.
MATHEMATICA
f[n_] := Count[Range[n], _?(PrimeQ[#] && BitAnd[n, #] == # &)]; Select[Range[216], f[#] == 1 &] (* Amiram Eldar, Jan 12 2020 *)
PROG
(Magma) [k:k in [1..200]|#[p:p in PrimesUpTo(k)| p eq BitwiseAnd(k, p)] eq 1 ]; // Marius A. Burtea, Jan 12 2020
CROSSREFS
A016825 is a subsequence.
Sequence in context: A075823 A368045 A191748 * A191124 A281379 A348565
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Dec 30 2004
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 02:28 EDT 2024. Contains 371917 sequences. (Running on oeis4.)