|
Search: id:A089176
|
|
|
| A089176 |
|
Primes p such that p+2 is divisible by a square. |
|
+0 3
|
|
| 2, 7, 23, 43, 47, 61, 73, 79, 97, 151, 167, 173, 223, 241, 277, 313, 331, 349, 359, 367, 373, 421, 439, 457, 523, 547, 601, 619, 673, 691, 709, 727, 733, 773, 823, 839, 853, 907, 929, 997, 1033, 1051, 1069, 1087, 1123, 1181, 1213, 1223, 1231, 1249, 1303
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
PROGRAM
|
(PARI) powerfreep3(n, p, k) = { c=0; pc=0; forprime(x=2, n, pc++; if(ispowerfree(x+k, p)==0, c++; print1(x", "); ) ); print(); print(c", "pc", "c/pc+.0) } ispowerfree(m, p1) = { flag=1; y=component(factor(m), 2); for(i=1, length(y), if(y[i] >= p1, flag=0; break); ); return(flag) }
|
|
CROSSREFS
|
A091880 gives prime indices.
Adjacent sequences: A089173 A089174 A089175 this_sequence A089177 A089178 A089179
Sequence in context: A049588 A106020 A045383 this_sequence A100917 A049552 A049572
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Cino Hilliard (hillcino368(AT)gmail.com), Dec 08 2003
|
|
EXTENSIONS
|
More terms from Ray Chandler (rayjchandler(AT)sbcglobal.net), Feb 15 2004
|
|
|
Search completed in 0.002 seconds
|