Snippet of the problem is given below. To download follow the link http://sdrv.ms/17ORpFU or http://kolkatamaths.yolasite.com/problems-for-isi.php and download the file Integer Solution.pdf.
This type of problem is appropriate for ISI or CMI entrance test for B.Math or B.Stat, rather than a straight forward integer solution is has a restriction.