Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/Babbage-problem/PARI-GP/babbage-problem.parigp
Normal file
8
Task/Babbage-problem/PARI-GP/babbage-problem.parigp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
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.
|
||||
)
|
||||
)}
|
||||
Loading…
Add table
Add a link
Reference in a new issue