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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A004742 Numbers n such that binary expansion does not contain 101. 2
0, 1, 2, 3, 4, 6, 7, 8, 9, 12, 14, 15, 16, 17, 18, 19, 24, 25, 28, 30, 31, 32, 33, 34, 35, 36, 38, 39, 48, 49, 50, 51, 56, 57, 60, 62, 63, 64, 65, 66, 67, 68, 70, 71, 72, 73, 76, 78, 79, 96, 97, 98, 99, 100, 102, 103, 112, 113, 114, 115, 120, 121, 124, 126, 127 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

A 2-automatic sequence. - Charles R Greathouse IV, Mar 26 2013

LINKS

Charles R Greathouse IV, Table of n, a(n) for n = 1..10000

PROG

(PARI) is(n)=n=binary(n); for(i=3, #n, if(n[i]&&n[i-2]&&!n[i-1], return(0))); 1 \\ Charles R Greathouse IV, Mar 26 2013

CROSSREFS

Sequence in context: A023747 A031998 A023759 * A100290 A050271 A140181

Adjacent sequences:  A004739 A004740 A004741 * A004743 A004744 A004745

KEYWORD

nonn,easy,changed

AUTHOR

N. J. A. Sloane.

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 24 04:53 EDT 2013. Contains 225615 sequences.