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!)
A247647 Binary numbers that begin and end with 1 and do not contain two adjacent zeros. 7
1, 11, 101, 111, 1011, 1101, 1111, 10101, 10111, 11011, 11101, 11111, 101011, 101101, 101111, 110101, 110111, 111011, 111101, 111111, 1010101, 1010111, 1011011, 1011101, 1011111, 1101011, 1101101, 1101111, 1110101, 1110111, 1111011, 1111101, 1111111, 10101011, 10101101, 10101111, 10110101, 10110111, 10111011, 10111101 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A007088(A247648(n)).
MATHEMATICA
With[{upto=500}, Map[FromDigits, Select[IntegerString[Range[1, upto, 2], 2], StringFreeQ[#, "00"]&]]] (* Paolo Xausa, Dec 06 2023 *)
PROG
(Python)
A247647_list = [int(bin(n)[2:]) for n in range(1, 10**5) if n % 2 and not '00' in bin(n)]
# Chai Wah Wu, Sep 25 2014
(Haskell)
a247647 = a007088 . a247648 -- Reinhard Zumkeller, Sep 25 2014
CROSSREFS
See A247648 for the decimal equivalents.
Sequence in context: A057148 A076289 A350346 * A240602 A117697 A305395
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Sep 25 2014
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 23 15:04 EDT 2024. Contains 371914 sequences. (Running on oeis4.)