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

A044254
Numbers n such that string 0,3 occurs in the base 9 representation of n but not of n-1.
0
84, 165, 246, 327, 408, 489, 570, 651, 732, 756, 813, 894, 975, 1056, 1137, 1218, 1299, 1380, 1461, 1485, 1542, 1623, 1704, 1785, 1866, 1947, 2028, 2109, 2190, 2214, 2271, 2352, 2433, 2514, 2595, 2676, 2757, 2838, 2919
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {0, 3}]>0, 1, 0], {n, 3000}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 20 2019 *)
CROSSREFS
Sequence in context: A055712 A066292 A260703 * A044635 A273018 A260705
KEYWORD
nonn,base
STATUS
approved