How many distinct integer values of N between 1 and 1000 are there, such that

N=4a+b+4c and 2N=7a+6b+7c for some positive integers a, b and c?

3 answers

21
58
58