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!)
A004764 Numbers whose binary expansion does not begin 110. 0
0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = n - 1, 1 <= n <= 6, a(2^(m+2) + 2^m + k + 2) = 2^(m+2) + 2^(m+1) + 2^m + k, m >= 0, 0 <= k < (2^(m+2) + 2^m). - Yosu Yurramendi, Aug 08 2016
MATHEMATICA
Flatten[Insert[Select[Range[120], If[Length[IntegerDigits[ #, 2]] >= 3, Not[IntegerDigits[ #, 2][[1]] == 1 && IntegerDigits[ #, 2][[2]] == 1 && IntegerDigits[ #, 2][[3]] == 0 ]] &], {0, 1, 2, 3}, 1]] (* Stefan Steinerberger, Apr 15 2006 *)
Join[{0, 1, 2, 3}, Select[Range[4, 90], Take[IntegerDigits[#, 2], 3]!={1, 1, 0}&]] (* Harvey P. Dale, Feb 27 2012 *)
CROSSREFS
Cf. A007088.
Sequence in context: A360009 A359905 A316465 * A128649 A032894 A032853
KEYWORD
nonn,easy,base
AUTHOR
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 April 27 03:52 EDT 2024. Contains 372009 sequences. (Running on oeis4.)