login
A044345
Numbers n such that string 1,3 occurs in the base 10 representation of n but not of n-1.
0
13, 113, 130, 213, 313, 413, 513, 613, 713, 813, 913, 1013, 1113, 1130, 1213, 1300, 1413, 1513, 1613, 1713, 1813, 1913, 2013, 2113, 2130, 2213, 2313, 2413, 2513, 2613, 2713, 2813, 2913, 3013, 3113, 3130, 3213, 3313, 3413
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {1, 3}]>0, 1, 0], {n, 3500}], {0, 1}][[All, 2]] (* Harvey P. Dale, Nov 14 2022 *)
CROSSREFS
Sequence in context: A087609 A302307 A293873 * A166573 A044726 A303038
KEYWORD
nonn,base
STATUS
approved