Consider a sequence of positive integers with total sum $2019$ such that no number and no sum of a set of consecutive num bers is equal to $40$. What is the greatest possible length of such a sequence? (Alexandr Shapovalov)
Problem
Source: Tournament of Towns, Senior O-Level , Spring 2019 p5
Tags: Sequence, algebra, Sum, positive integers