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

A044686
Numbers n such that string 6,0 occurs in the base 9 representation of n but not of n+1.
0
54, 135, 216, 297, 378, 459, 494, 540, 621, 702, 783, 864, 945, 1026, 1107, 1188, 1223, 1269, 1350, 1431, 1512, 1593, 1674, 1755, 1836, 1917, 1952, 1998, 2079, 2160, 2241, 2322, 2403, 2484, 2565, 2646, 2681, 2727, 2808
OFFSET
1,1
MATHEMATICA
Select[Range[3000], MemberQ[Partition[IntegerDigits[#, 9], 2, 1], {6, 0}] && !MemberQ[ Partition[IntegerDigits[#+1, 9], 2, 1], {6, 0}]&] (* Harvey P. Dale, May 14 2011 *)
CROSSREFS
Sequence in context: A255021 A184067 A044305 * A108780 A057396 A286836
KEYWORD
nonn,base
STATUS
approved