OFFSET
1,1
COMMENTS
Corresponding 5-almost primes are A156621.
This sequence is infinite: Ribenboim states that Rieger proved in 1969 that "there exist infinitely many primes p such that p^2 - 2 [is an element of] P_5", this being a particular case of a general theorem proved (also in 1969) by Richert: (again quoting Ribenboim) "Let f(X) be a polynomial with integral coefficients, positive leading coefficient, degree d >= 1 (and different from X). Assume that for every prime p, the number [rho](p) of solutions of f(X) = 0 (mod p) is less than p; moreover if p <= d+1 and p does not divide f(0) assume also that [rho](p) < p-1. Then, there exist infinitely many primes p such that f(p) is a (2d+1)-almost prime."
REFERENCES
H. Halberstam and H. E. Richert, Sieve Methods, Academic Press, NY, 1974.
P. Ribenboim, The Little Book of Big Primes, Springer-Verlag, NY, 1991, p. 184.
G. J. Rieger, On polynomials and almost-primes, Bull. Amer. Math. Soc., 75 (1969), 100-103.
MATHEMATICA
Select[Prime[Range[5000]], PrimeOmega[#^2-2]==5&] (* Harvey P. Dale, Jul 11 2014 *)
PROG
(PARI) forprime(p=2, prime(2500), if(bigomega(p^2-2)==5, print1(p, ", ")))
CROSSREFS
KEYWORD
nonn
AUTHOR
Rick L. Shepherd, Feb 11 2009
STATUS
approved