来自在线整数百科全书的问候语!http://oeis.org/ Search: id:a001092 Showing 1-1 of 1 %I A001092 %S A001092 1,2,3,4,5,7,9,11,13,17,19,23,25,27,29,31,41,43,47,49,59,61,71,73,79, %T A001092 81,83,101,103,107,109,125,127,137,139,149,151,167,169,179,181,191, %U A001092 193,197,199,227,229,239,241,243,269,271,281,283,311,313,347,349,359 %N A001092 Union of all numbers {p, q} where p and q are both primes or powers of primes and q = p+2. %D A001092 M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math. 系列55, 1964(和各种改写),第844页。n,a(n)n=1…10000的表%H A000 1092 M. Abramowitz和I. A. Stegun,EDS。数学函数手册,国家标准局,应用数学。Series 55, Tenth Printing, 1972 [alternative scanned copy]. %o A001092 (PARI) {isprimepower(n)=matsize(factor(n))[1]==1} for(n=1,400,if(isprimepower(n)&&(isprimepower(n-2)||isprimepower(n+2)),print1(n","))) \\ _Ralf Stephan_, Aug 20 2004 %Y A001092 Cf. A053702, A074852. %K A001092 nonn,easy %O A001092 1,2 %A A001092 _N. J. A. Sloane_ %E A001092 Corrected and extended by Larry Reeves (larryr(AT)acm.org), Jun 14 2001 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE