2014年3月25日

y^2 = x^3 + 3917 x

摘要: Challenge: find a pair of nonzero integers x and y that obey y^2 = x^3 + 3917 x.#include #include #include using namespace std;const long long MAX_x=1LL << (21-1); //(x^3 < 2^63-1)//y^2 = x^3 + 3917 xint main(){ long long x; long long y=1; cout<<MAX_x<<endl; for(x=1;x<MAX_x;x 阅读全文

posted @ 2014-03-25 11:15 mmqh 阅读(249) 评论(0) 推荐(0) 编辑

导航