Solution

Find the number of positive integer solutions to the given equation : 2 x + 3 y = 515 2x+ 3y = 515


The answer is 86.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Nelson Mandela
Aug 17, 2015

2x+3y=515.

By making x as subject, we have,

x = 515 3 y 2 \frac { 515-3y }{ 2 } .

So, the numerator should be divisible by 2 and y and x are positive integers.

Moreover, y can take only odd values because numerator should be of the form 2n. (odd-odd = even) and (odd-even=odd).

So, y can take values 1,3,5,7,............................. till x remains positive.

[ 515 3 ] \left[ \frac { 515 }{ 3 } \right] is 171 which is the limiting value of y.

So, number of values that y can take is equal to total solutions = 172/2 = 86.

Here, [ x ] \left[ x \right] means box function or greatest integer function.

How did you get from 171 to 172?

Ron Lauterbach - 3 years, 7 months ago
Dev Sharma
Aug 17, 2015

The no of positive solution in integer of ax + by = n is give by n/[a,b] + 1

use it

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...