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

A044306
Numbers n such that string 6,1 occurs in the base 9 representation of n but not of n-1.
0
55, 136, 217, 298, 379, 460, 495, 541, 622, 703, 784, 865, 946, 1027, 1108, 1189, 1224, 1270, 1351, 1432, 1513, 1594, 1675, 1756, 1837, 1918, 1953, 1999, 2080, 2161, 2242, 2323, 2404, 2485, 2566, 2647, 2682, 2728, 2809
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {6, 1}]>0, 1, 0], {n, 3000}], {0, 1}][[All, 2]] (* Harvey P. Dale, Sep 06 2022 *)
CROSSREFS
Sequence in context: A046156 A224459 A218161 * A044687 A250578 A130745
KEYWORD
nonn,base
STATUS
approved