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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A261922 a(n) = smallest nonnegative number that is not a substring of n in its binary representation. 8
1, 0, 3, 0, 3, 3, 4, 0, 3, 3, 3, 4, 5, 4, 4, 0, 3, 3, 3, 5, 3, 3, 4, 4, 5, 5, 4, 4, 5, 4, 4, 0, 3, 3, 3, 5, 3, 3, 5, 5, 3, 3, 3, 4, 7, 4, 4, 4, 5, 5, 5, 5, 7, 4, 4, 4, 5, 5, 4, 4, 5, 4, 4, 0, 3, 3, 3, 5, 3, 3, 5, 5, 3, 3, 3, 6, 5, 7, 5, 5, 3, 3, 3, 6, 3, 3, 4, 4, 7, 7, 4, 4, 8, 4, 4, 4, 5, 5, 5, 5, 5, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

a(A062289(n))=A261461(A062289(n)); a(A126646(n))!=A261461(A126646(n)). - Reinhard Zumkeller, Sep 17 2015

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 0..10000

PROG

(Haskell)

import Data.List (isInfixOf)

a261922 x = f a030308_tabf where

   f (cs:css) = if isInfixOf cs (a030308_row x)

                   then f css else foldr (\d v -> 2 * v + d) 0 cs

-- Reinhard Zumkeller, Sep 17 2015

CROSSREFS

Similar to A261461.

Cf. A007088, A030308, A062289, A126646, A262281.

Sequence in context: A288571 A270028 A167223 * A078907 A282135 A278923

Adjacent sequences:  A261919 A261920 A261921 * A261923 A261924 A261925

KEYWORD

nonn,base

AUTHOR

N. J. A. Sloane, Sep 16 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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 20 13:59 EDT 2018. Contains 316379 sequences. (Running on oeis4.)