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

A044205
Numbers n such that string 2,2 occurs in the base 8 representation of n but not of n-1.
0
18, 82, 144, 210, 274, 338, 402, 466, 530, 594, 656, 722, 786, 850, 914, 978, 1042, 1106, 1152, 1234, 1298, 1362, 1426, 1490, 1554, 1618, 1680, 1746, 1810, 1874, 1938, 2002, 2066, 2130, 2192, 2258, 2322, 2386, 2450, 2514
OFFSET
1,1
MATHEMATICA
Select[Range[2800], MemberQ[Partition[IntegerDigits[#, 8], 2, 1], {2, 2}]&& !MemberQ[Partition[IntegerDigits[#-1, 8], 2, 1], {2, 2}]&] (* Harvey P. Dale, Oct 13 2011 *)
CROSSREFS
Sequence in context: A156218 A118293 A043430 * A044586 A159460 A043181
KEYWORD
nonn,base
STATUS
approved