|
|
A371163
|
|
Numbers that remain unchanged when converted to their compressed fibbinary numbers.
|
|
0
|
|
|
0, 1, 2, 9, 10, 115544, 13568075, 13568077, 13568078, 13568083, 13568085, 13568086
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
LINKS
|
|
|
EXAMPLE
|
9 is a term since 9 = 8 + 1 = F(6) + F(2), where F(i) is the i-th Fibonacci number, is Fibbinary A003714(9) = 10001_2, but then all '01's are compressed to '1', leaving A048679(9) = 1001_2, which is 9 itself again.
|
|
PROG
|
(Python)
from itertools import count, islice
def A371163_gen(): # generator of terms
c = 0
for n in count(0):
if not (n<<1)&n:
if int(bin(n)[2:].replace('01', '1'), 2) == c:
yield c
c += 1
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn,more
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|