login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A093009
Smallest number m such that m is prime iff n is not prime and the binary representation of m equals n with appended trailing 1's.
2
3, 95, 15, 19, 95, 13, 15, 17, 19, 43, 95, 103, 27, 29, 31, 67, 35, 37, 39, 41, 43, 367, 95, 199, 103, 53, 223, 463, 119, 61, 63, 131, 67, 139, 71, 73, 75, 311, 79, 163, 335, 5503, 87, 89, 367, 751, 95, 97, 199, 101, 103, 211, 215, 109, 223, 113, 463, 241663
OFFSET
1,1
COMMENTS
a(n) = Max{A093007(n), A038699(n)};
n>1: A070939(a(n))=A070939(n)+A093008(n), A000120(a(n))=A000120(n)+A093008(n).
CROSSREFS
Sequence in context: A142887 A297489 A241752 * A373551 A273442 A322460
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Mar 14 2004
STATUS
approved