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

A044683
Numbers n such that string 5,6 occurs in the base 9 representation of n but not of n+1.
0
51, 132, 213, 294, 375, 456, 467, 537, 618, 699, 780, 861, 942, 1023, 1104, 1185, 1196, 1266, 1347, 1428, 1509, 1590, 1671, 1752, 1833, 1914, 1925, 1995, 2076, 2157, 2238, 2319, 2400, 2481, 2562, 2643, 2654, 2724, 2805
OFFSET
1,1
MATHEMATICA
Select[Range[3000], MemberQ[Partition[IntegerDigits[#, 9], 2, 1], {5, 6}] && !MemberQ[Partition[IntegerDigits[#+1, 9], 2, 1], {5, 6}]&] (* Harvey P. Dale, Sep 29 2011 *)
CROSSREFS
Sequence in context: A097644 A353987 A044302 * A348000 A044383 A044764
KEYWORD
nonn,base
STATUS
approved