loda-lang / loda-cpp

Runtime and miner for the LODA language written in C++
https://loda-lang.org/
Apache License 2.0
21 stars 1 forks source link

remove PARI limitation for binomial with negative args #312

Open ckrause opened 9 months ago

ckrause commented 9 months ago
2024-01-05 11:49:47|INFO |Checking 5 terms of A037964: a(n) = -binomial(-n,-2*n)+binomial(-2*n,2*n)
2024-01-05 11:49:47|INFO |Generated sequence: 0,3,35,462,6435
2024-01-05 11:49:47|INFO |Expected sequence:  0,4,32,472,6400
2024-01-05 11:49:47|ERROR|Unexpected PARI sequence
ckrause commented 9 months ago

will be available in next stable release of PARI/GP: 2.17.0.