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.

A359205 Numbers that have at least two non-overlapping pairs of consecutive ones in their binary representation.

This page as a plain text file.
%I A359205 #38 Dec 25 2022 14:14:42
%S A359205 15,27,30,31,47,51,54,55,59,60,61,62,63,79,91,94,95,99,102,103,107,
%T A359205 108,109,110,111,115,118,119,120,121,122,123,124,125,126,127,143,155,
%U A359205 158,159
%N A359205 Numbers that have at least two non-overlapping pairs of consecutive ones in their binary representation.
%C A359205 These are the numbers for which the smallest Hamming distance to a fibbinary number is larger than 1.
%H A359205 Wikipedia, <a href="https://en.m.wikipedia.org/wiki/Hamming_distance">Hamming distance</a>
%H A359205 Wikipedia, <a href="https://en.m.wikipedia.org/wiki/Fibbinary_number">Fibbinary number</a>
%e A359205 27 is 11011 in binary, thus it is in the sequence.
%e A359205 14 is 1110 in binary. The pairs of consecutive ones overlap, so it is not in the sequence.
%t A359205 n=10;
%t A359205 a=Range[2^n];
%t A359205 fib=Select[a, BitAnd[#,2#]==0&];
%t A359205 nonadj=Complement[a,Union@@Outer[BitXor,fib,2^#&/@Range[n]]]
%Y A359205 Cf. A003714.
%K A359205 nonn,base,easy
%O A359205 1,1
%A A359205 _Elijah Beregovsky_, Dec 23 2022