login
A044370
Numbers n such that string 3,8 occurs in the base 10 representation of n but not of n-1.
0
38, 138, 238, 338, 380, 438, 538, 638, 738, 838, 938, 1038, 1138, 1238, 1338, 1380, 1438, 1538, 1638, 1738, 1838, 1938, 2038, 2138, 2238, 2338, 2380, 2438, 2538, 2638, 2738, 2838, 2938, 3038, 3138, 3238, 3338, 3380, 3438
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {3, 8}]>0, 1, 0], {n, 3500}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Mar 24 2018 *)
CROSSREFS
Sequence in context: A118633 A216896 A158525 * A044751 A221403 A320309
KEYWORD
nonn,base
STATUS
approved