login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A093008 Smallest number of 1's to append to the binary representation of n such that primes become nonprimes and nonprimes become primes. 2
1, 5, 2, 2, 4, 1, 1, 1, 1, 2, 3, 3, 1, 1, 1, 2, 1, 1, 1, 1, 1, 4, 2, 3, 2, 1, 3, 4, 2, 1, 1, 2, 1, 2, 1, 1, 1, 3, 1, 2, 3, 7, 1, 1, 3, 4, 1, 1, 2, 1, 1, 2, 2, 1, 2, 1, 3, 12, 1, 3, 1, 2, 1, 4, 1, 5, 1, 1, 1, 2, 1, 7, 1, 1, 1, 2, 2, 1, 1, 3, 1, 2, 2, 5, 6, 1, 23, 4, 6, 1, 2, 3, 3, 2, 1, 1, 1, 1, 1, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

n>1: a(n) = A063377(n) + A040081(n+1).

LINKS

Table of n, a(n) for n=1..100.

CROSSREFS

Cf. A093009.

Sequence in context: A286016 A119320 A070962 * A297827 A198496 A318332

Adjacent sequences:  A093005 A093006 A093007 * A093009 A093010 A093011

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Mar 14 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 15 01:40 EDT 2019. Contains 328025 sequences. (Running on oeis4.)