登录
A065897号
第a(n)-个复合数是第n个素数的两倍。
1, 2, 5, 7, 13, 16, 22, 25, 31, 41, 43, 52, 59, 62, 69, 78, 87, 91, 101, 107, 111, 120, 127, 137, 149, 155, 159, 166, 170, 177, 199, 206, 215, 218, 235, 239, 248, 259, 266, 277, 286, 289, 306, 309, 316, 319, 339, 359, 366, 369, 375, 386, 389, 406, 416, 426, 438
抵消
1, 2
评论
也是最小的k,这样第n元(A002110号)是第k个复合因子的除数(A036691号). -莱因哈德·祖姆凯勒2002年9月3日
链接
哈里·史密斯,n,a(n)表,n=1..1000
配方奶粉
a(n)=2*prime(n)-(pi(2*price(n)))-1,其中pi=A000720号.
例子
a(7)=22,因为第7素数的两倍(2×17=34)是第22个合成数:4、6、8、9、10、12、14、15、16、18、20、21、22、24、25、26、27、28、30、32、33、34。
MAPLE公司
A065897号:=n->2*ithprime(n)-(数论[pi](2*ithprime(n)))-1:seq(A065897号(n) ,n=1..100); #韦斯利·伊万·赫特2017年9月16日
数学
表[2*Prime[n]-(PrimePi[2*Prime[n]])-1,{n,128}]
黄体脂酮素
(PARI){对于(n=1000,f=2*素数(n);a=f-素数pi(f)-1;写入(“b065897.txt”,n,“”,a))}\\哈里·史密斯2009年11月4日
(岩浆)
A065897号:=函数<n|2*NthPrime(n)-1-#PrimesUpTo(2*NthPrime(n))>;
[A065897号(n) :[1..130]]中的n; //G.C.格鲁贝尔2024年8月24日
(SageMath)
定义A065897号(n) :return 2*nth_prime(n)-prime_pi
[A065897号(n) 对于范围(131)内的n#G.C.格鲁贝尔2024年8月24日
交叉参考
关键词
非n,容易的
作者
拉博斯·埃利默2001年11月28日
状态
经核准的