#来自在线整数序列百科全书的问候!搜索:http://oeis.org/; 搜索:id:a047979 展示1-1的1个1;%I a047979 9;%S a047979 19、73883259318000120806083388963226845128342869633612673736329683,;%T a047979 641536363103421531880071328486861533208005140788888389753203,;%U A04797979 975031312752755239315444444803144803131318031801230953033;%N A0479797979 979 97939753203,%44803180314480318031448031803180318031801230953033(9393939让(p1,p2),(p3,p4)是一对孪生素数,p1*p2=p3+p4-1;序列给出p4的值。 %H A047979 Charles R Greathouse IV,n=1..10000的n,a(n)表%以A047979为例,如5*7=17+19-1,11*13=71+73-1.;%o A047979(PARI)list(lim)=my(v=list(),p=3,r);forprime(q=5,sqrtint(lim\1*2-2)+1,若(q-p==2&&ISPPrime(r=p*q q\2)&&isprime(r+2),listput(v,r+2));p=q);Vec(v)v)\\\\\\\\\\\\\\\\\\\.查尔斯r Greathouse IV U2015年9月29日,2015年9月29日年9月29日年9月29日;%o A047979(PARI)为(n)=my(p=sqrtint(2*n-3));p*(p+2)==2*n-3&&isprime(n)&&isprime(n-2)&&isprime(p)&&isprime(p+2)\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\