Doubly consecutive sums

How many numbers less than 2017 are both the sum of two consecutive integers and the sum of five consecutive integers?
Exploring and noticing Working systematically Conjecturing and generalising Visualising and representing Reasoning, convincing and proving
Being curious Being resourceful Being resilient Being collaborative

Problem



How many numbers less than $2017$ are both the sum of two consecutive positive integers, and the sum of five consecutive positive integers?

If you liked this problem, here is an NRICH task that challenges you to use similar mathematical ideas.