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

A044266
Numbers n such that string 1,6 occurs in the base 9 representation of n but not of n-1.
0
15, 96, 135, 177, 258, 339, 420, 501, 582, 663, 744, 825, 864, 906, 987, 1068, 1149, 1215, 1311, 1392, 1473, 1554, 1593, 1635, 1716, 1797, 1878, 1959, 2040, 2121, 2202, 2283, 2322, 2364, 2445, 2526, 2607, 2688, 2769, 2850
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {1, 6}]>0, 1, 0], {n, 3000}], {0, 1}][[All, 2]] (* Harvey P. Dale, Jan 29 2023 *)
CROSSREFS
Sequence in context: A374808 A052459 A336278 * A044647 A289705 A296538
KEYWORD
nonn,base
STATUS
approved