摘要: /*时间:2018.1.25作者:小岛的水*/#include<iostream>using namespace std;//调用递归函数计算勒让德多项式/*Pn(x)=|1 (n=0) |x (n=1) |((2n-1)x-Pn-1(x)-(n-1)Pn-2(x))/n*/int main(){  阅读全文
posted @ 2018-01-25 15:50 小岛的水 阅读(804) 评论(0) 推荐(0)
摘要: /*时间:2018.1.25作者:小岛的水*/#include<iostream>using namespace std;//验证哥德巴赫猜想:任何一个大于六的偶数可以表示为两个素数之和int main(){ int gotbaha(int n); int prime(int n); cout << 阅读全文
posted @ 2018-01-25 12:20 小岛的水 阅读(8091) 评论(1) 推荐(0)