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

A044685
Numbers n such that string 5,8 occurs in the base 9 representation of n but not of n+1.
0
53, 134, 215, 296, 377, 458, 485, 539, 620, 701, 782, 863, 944, 1025, 1106, 1187, 1214, 1268, 1349, 1430, 1511, 1592, 1673, 1754, 1835, 1916, 1943, 1997, 2078, 2159, 2240, 2321, 2402, 2483, 2564, 2645, 2672, 2726, 2807
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {5, 8}]>0, 1, 0], {n, 3000}], {1, 0}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 17 2021 *)
CROSSREFS
Sequence in context: A142167 A323590 A044304 * A239721 A142259 A161611
KEYWORD
nonn,base
STATUS
approved