login
A044275
Numbers n such that string 2,6 occurs in the base 9 representation of n but not of n-1.
0
24, 105, 186, 216, 267, 348, 429, 510, 591, 672, 753, 834, 915, 945, 996, 1077, 1158, 1239, 1320, 1401, 1482, 1563, 1644, 1674, 1725, 1806, 1887, 1944, 2049, 2130, 2211, 2292, 2373, 2403, 2454, 2535, 2616, 2697, 2778, 2859
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {2, 6}]>0, 1, 0], {n, 3000}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Aug 28 2019 *)
CROSSREFS
Sequence in context: A275506 A185743 A027265 * A044656 A011199 A213874
KEYWORD
nonn,base
STATUS
approved