cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A371163 Numbers that remain unchanged when converted to their compressed fibbinary numbers.

This page as a plain text file.
%I A371163 #19 Mar 18 2024 10:08:36
%S A371163 0,1,2,9,10,115544,13568075,13568077,13568078,13568083,13568085,
%T A371163 13568086
%N A371163 Numbers that remain unchanged when converted to their compressed fibbinary numbers.
%e A371163 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.
%o A371163 (Python)
%o A371163 from itertools import count, islice
%o A371163 def A371163_gen(): # generator of terms
%o A371163     c = 0
%o A371163     for n in count(0):
%o A371163         if not (n<<1)&n:
%o A371163             if  int(bin(n)[2:].replace('01','1'),2) == c:
%o A371163                 yield c
%o A371163             c += 1
%o A371163 A371163_list = list(islice(A371163_gen(),6)) # _Chai Wah Wu_, Mar 18 2024
%Y A371163 Fixed points of A048679 and A048680.
%Y A371163 Cf. A000045, A003714.
%K A371163 base,nonn,more
%O A371163 1,3
%A A371163 _Douglas Boffey_, Mar 13 2024