+0  
 
0
38
1
avatar

\(If $1 \le a \le 10$ and $1 \le b \le 36$, for how many ordered pairs of integers $(a, b)$ is $\sqrt{a + \sqrt{b}}$ an integer?\frac{}{}\times\)

 Nov 30, 2022
 #1
avatar
0

I wrote a computer program:

 

count = 0

 

for (a = 1..10)

for (b = 1..36)

  if isinteger(sqrt(a + sqrt(b)) then count = count + 1

 

The result was 14.

 Nov 30, 2022

13 Online Users