The problem makes sense. It's easy enough to visualize a sequence of length 2018 whose elements are in {1,2,3,4,5,6,10},
and whose terms sum to 3860. It's an integer partition problem.
How sensible the bound on the cardinality of the set of such sequences is will take some figuring.