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

A044691
Numbers n such that string 6,5 occurs in the base 9 representation of n but not of n+1.
0
59, 140, 221, 302, 383, 464, 539, 545, 626, 707, 788, 869, 950, 1031, 1112, 1193, 1268, 1274, 1355, 1436, 1517, 1598, 1679, 1760, 1841, 1922, 1997, 2003, 2084, 2165, 2246, 2327, 2408, 2489, 2570, 2651, 2726, 2732, 2813
OFFSET
1,1
MATHEMATICA
Select[Range[3000], MemberQ[Partition[IntegerDigits[#, 9], 2, 1], {6, 5}] && !MemberQ[Partition[IntegerDigits[#+1, 9], 2, 1], {6, 5}]&] (* Harvey P. Dale, Mar 26 2012 *)
CROSSREFS
Sequence in context: A142171 A129480 A044310 * A156796 A183348 A106756
KEYWORD
nonn,base
STATUS
approved