login
A044273
Numbers n such that string 2,4 occurs in the base 9 representation of n but not of n-1.
0
22, 103, 184, 198, 265, 346, 427, 508, 589, 670, 751, 832, 913, 927, 994, 1075, 1156, 1237, 1318, 1399, 1480, 1561, 1642, 1656, 1723, 1782, 1885, 1966, 2047, 2128, 2209, 2290, 2371, 2385, 2452, 2533, 2614, 2695, 2776, 2857
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {2, 4}]>0, 1, 0], {n, 3000}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 21 2021 *)
CROSSREFS
Sequence in context: A262914 A262329 A264852 * A044654 A156795 A095265
KEYWORD
nonn,base
STATUS
approved