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!)
A153034 Numbers with adjacent 0's and no adjacent 1's in binary expansion. 0
4, 8, 9, 16, 17, 18, 20, 32, 33, 34, 36, 37, 40, 41, 64, 65, 66, 68, 69, 72, 73, 74, 80, 81, 82, 84, 128, 129, 130, 132, 133, 136, 137, 138, 144, 145, 146, 148, 149, 160, 161, 162, 164, 165, 168, 169, 256, 257, 258, 260, 261, 264, 265, 266, 272, 273, 274, 276, 277 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(1) = 4 because bin(4) = 100.
MATHEMATICA
fQ[n_] := Block[{st = Union@Split@IntegerDigits[n, 2]}, MemberQ[st, {0, __}] && !MemberQ[st, {1, __}]]; Select[Range@ 288, fQ@# &] (* Robert G. Wilson v, Dec 21 2008 *)
CROSSREFS
Cf. A153033, A000975. - Robert G. Wilson v, Dec 21 2008
Sequence in context: A072103 A004756 A237882 * A106840 A242663 A160053
KEYWORD
base,easy,nonn
AUTHOR
Gil Broussard, Dec 17 2008
EXTENSIONS
Extended by Robert G. Wilson v, Dec 21 2008
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 March 28 14:38 EDT 2024. Contains 371254 sequences. (Running on oeis4.)