9 lines
231 B
Text
9 lines
231 B
Text
|
|
m=269696;
|
||
|
|
k=1000000;
|
||
|
|
{for(n=1,99736,
|
||
|
|
\\ Try each number in this range, from 1 to 99736
|
||
|
|
if(denominator((n^2-m)/k)==1, \\ Check if n squared, minus m, is divisible by k
|
||
|
|
return(n) \\ If so, return this number and STOP.
|
||
|
|
)
|
||
|
|
)}
|