login
A044346
Numbers n such that string 1,4 occurs in the base 10 representation of n but not of n-1.
0
14, 114, 140, 214, 314, 414, 514, 614, 714, 814, 914, 1014, 1114, 1140, 1214, 1314, 1400, 1514, 1614, 1714, 1814, 1914, 2014, 2114, 2140, 2214, 2314, 2414, 2514, 2614, 2714, 2814, 2914, 3014, 3114, 3140, 3214, 3314, 3414
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {1, 4}]>0, 1, 0], {n, 3500}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Aug 23 2019 *)
CROSSREFS
Sequence in context: A285147 A327361 A293874 * A044727 A199251 A199196
KEYWORD
nonn,base
STATUS
approved