A044352 Numbers n such that string 2,0 occurs in the base 10 representation of n but not of n-1.
20, 120, 200, 220, 320, 420, 520, 620, 720, 820, 920, 1020, 1120, 1200, 1220, 1320, 1420, 1520, 1620, 1720, 1820, 1920, 2000, 2120, 2200, 2220, 2320, 2420, 2520, 2620, 2720, 2820, 2920, 3020, 3120, 3200, 3220, 3320, 3420
Offset: 1
Crossrefs
Subsequence of A121040.
Programs
-
Mathematica
SequencePosition[Table[If[SequenceCount[IntegerDigits[n],{2,0}]>0,1,0],{n,3500}],{0,1}][[All,2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Dec 24 2018 *)
Comments