← All problems

Counting Numbers Expressible as Consecutive Sums

Number Theory · 25th PMO Qualifying Stage 1500
How many numbers from $1$ to $10^4$ can be expressed both as a sum of five consecutive positive integers and as a sum of seven consecutive positive integers, but not as a sum of three consecutive positive integers?
A$142$ B$190$ C$285$ D$2096$