2x = 2015 - 5y
if y = 1, 2x = 2010 => x = 1005
if y = 3, 2x = 2000 => x = 1000
if y = 5, 2x = 1990 => x = 995
...
if y = 401, 2x = 10 => x = 5
if y = 403, 2x = 0 => x = 0
y is an integer.
When x is an integer :
[(2015 - 5y) > 0] and [(2015 - 5y) = an even number]
[5y < 2015] and [5y = an odd number]
[y < 403] and [y = an odd number]