Solveeit Logo

Question

Quantitative Aptitude Question on Number Systems

If x and y are non-negative integers such that x+9=z,y+1=zx + 9 = z, y + 1 = z and x+y<z+5x + y < z + 5, then the maximum possible value of 2x+y2x + y equals

Answer

Given x+9=z=y+1x+9=z=y+1 and x+y<z+5x+y<z+5

(z9)+(z1)<z+5⇒ (z-9)+(z-1)<z+5

z<15⇒ z<15

Hence the maximum value of z=14z=14, max of x=5x=5 and max of y=13y=13

Required answer, 2x+y=2×5+13=232x+y=2×5+13=23