find all integers of n such that : sqrt(50+sqrt(n)) + sqrt(50-sqrt(n)) is an integer number.
\[\sqrt{50+\sqrt{n}} + \sqrt{50-\sqrt{n}} = k\]
For the given expression to be an integer, it must be the case that both \(50+\sqrt{n}\) and \(50-\sqrt{n}\) are perfect squares : \[50+\sqrt{n}=a^2\\50-\sqrt{n}=b^2\\a\ge b\] add and get \[100=a^2+b^2\] Clearly this can be done in exactly two ways : \((a,b)=(10,0),~(8,6)\) and the corresponding \(n\) values are \(n=2500,~196.\)
I have to log in to give you medal. Admire!!!
you just miss one solution again @rational , 2016 is works also
wow! 2016 is also working, how come i missed that
yeah there are 3 solutions for n :D n = 196, 2500, 2016
maybe we can use these formula : \[\sqrt{a+b + 2\sqrt{ab}} = \sqrt{a} + \sqrt{b} \]
and \[\sqrt{a+b - 2\sqrt{ab}} = \sqrt{a} - \sqrt{b}\]
with a >= b
|dw:1432495497129:dw|
Join our real-time social learning platform and learn together with your friends!