Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #9 Jul 28 2017 14:07:04
%S 0,2,5,13,29,61,125,253,509,1021,2045,4093,8189,16381,32765,65533,
%T 131069,262141,524285,1048573,2097149,4194301,8388605,16777213,
%U 33554429,67108861,134217725,268435453,536870909,1073741821
%N Smallest number having in binary representation a prefix of length n that is also a suffix of its successor.
%C A091269(a(n)) = n and A091269(m) < n for m<a(n);
%C a(n) = 2^(n+1) - 3 for n>2, cf. A036563.
%H <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/Binary.html">Binary</a>
%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (3,-2).
%Y Cf. A007088.
%K nonn,base
%O 0,2
%A _Reinhard Zumkeller_, Dec 27 2003