The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A214853 Fibonacci numbers with only one 0 in the binary representation. 2
0, 2, 5, 13, 55 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Conjecture: the sequence is finite.
No more terms below 2*10^301. - Matthew House, Sep 06 2015
No more terms below 10^162809483. (This number could easily be raised. Of the Fibonacci numbers less than 2^32 -- i.e., F(0) through F(47) -- F(10)=55 is the largest that has only one 0 in its binary representation, and of those not less than 2^32, the smallest one whose 32 least significant bits include fewer than 2 zero bits is Fibonacci(779038816), which exceeds 10^162809483.) - Jon E. Schoenfield, Sep 07 2015
LINKS
EXAMPLE
55 is 110111 in binary, thus 55 is in the sequence.
MATHEMATICA
Select[Fibonacci@ Range[0, 120], Last@ DigitCount[#, 2] == 1 &] (* Michael De Vlieger, Sep 07 2015 *)
PROG
(Python)
def count0(x):
c = 0
while x:
c+= 1 - (x&1)
if c>1:
return 2
x>>=1
return c
prpr, prev = 0, 1
TOP = 1<<12
print(0, end=', ')
for i in range(1, TOP):
if count0(prpr)==1:
print(prpr, end=', ')
if (i&4095)==0:
print('.', end=', ')
prpr, prev = prev, prpr+prev
CROSSREFS
Intersection of A030130 and A000045.
Sequence in context: A353722 A105905 A236513 * A075738 A076999 A360507
KEYWORD
nonn,base,more
AUTHOR
Alex Ratushnyak, Mar 08 2013
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 May 13 13:57 EDT 2024. Contains 372519 sequences. (Running on oeis4.)