The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A262281 a(n) = smallest nonnegative number, not a power of 2, that is not a substring of n in its binary representation. 3
 3, 0, 3, 0, 3, 3, 5, 0, 3, 3, 3, 6, 5, 7, 5, 0, 3, 3, 3, 5, 3, 3, 7, 6, 5, 5, 7, 7, 5, 9, 5, 0, 3, 3, 3, 5, 3, 3, 5, 5, 3, 3, 3, 6, 7, 7, 9, 6, 5, 5, 5, 5, 7, 7, 7, 9, 5, 5, 9, 9, 5, 9, 5, 0, 3, 3, 3, 5, 3, 3, 5, 5, 3, 3, 3, 6, 5, 7, 5, 5, 3, 3, 3, 6, 3, 3, 7 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 COMMENTS Similar to A261922, but if the smallest missing number is a power of 2, ignore it and look at the next-smallest missing number. This is like applying A261922 not to n itself but to n plus a very large power of 2. Suggested by considering A261416. LINKS Hiroaki Yamanouchi, Table of n, a(n) for n = 0..10000 EXAMPLE For n = 13 = 1101_2, we can see 0, 11 (3), 101 (5), 110 (6), but not 111 (7), so a(13)=7. CROSSREFS Cf. A261416, A261461, A261922. See A262289 for the "positive" version. Sequence in context: A141030 A221168 A194084 * A297871 A292130 A291971 Adjacent sequences: A262278 A262279 A262280 * A262282 A262283 A262284 KEYWORD nonn,base AUTHOR N. J. A. Sloane, Sep 17 2015 EXTENSIONS a(23)-a(86) from Hiroaki Yamanouchi, Sep 20 2015 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.

Last modified June 23 04:59 EDT 2024. Contains 373629 sequences. (Running on oeis4.)