+0  
 
+1
771
1
avatar+142 

There are exactly four positive integers n such that \(\frac{(n + 1)^2}{n + 23}\) is an integer. Compute the largest such n.

 Mar 30, 2019
 #1
avatar
+1

n=1; a=((n+1)^2 / (n+23));printa, n; n++; if(n<500, goto1, 0)

The 4 numbers are: 21, 98, 219, 461

The largest n = 461 

 Mar 31, 2019
edited by Guest  Mar 31, 2019

2 Online Users