login

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”).

A044584
Numbers n such that string 2,0 occurs in the base 8 representation of n but not of n+1.
0
16, 80, 135, 144, 208, 272, 336, 400, 464, 528, 592, 647, 656, 720, 784, 848, 912, 976, 1087, 1104, 1159, 1168, 1232, 1296, 1360, 1424, 1488, 1552, 1616, 1671, 1680, 1744, 1808, 1872, 1936, 2000, 2064, 2128, 2183, 2192, 2256
OFFSET
1,1
MATHEMATICA
Select[Range[2300], MemberQ[Partition[IntegerDigits[#, 8], 2, 1], {2, 0}] && !MemberQ[Partition[IntegerDigits[#+1, 8], 2, 1], {2, 0}]&] (* Harvey P. Dale, May 23 2014 *)
CROSSREFS
Sequence in context: A269584 A373927 A044203 * A111732 A271992 A008511
KEYWORD
nonn,base
STATUS
approved