OFFSET
1,1
COMMENTS
This sequence is infinite and its relative density in the sequence of the primes is equal to 2 * Product_{p prime} (1-1/(p*(p-1))) = 2 * A005596 = 0.747911... (Mirsky, 1949). - Amiram Eldar, Feb 27 2021
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
Leon Mirsky, The number of representations of an integer as the sum of a prime and a k-free integer, The American Mathematical Monthly, Vol. 56, No. 1 (1949), pp. 17-19.
FORMULA
Primes p such that abs(mu(p-2)) = 1.
MATHEMATICA
Select[Prime[Range[100]], SquareFreeQ[#-2]&] (* Harvey P. Dale, Mar 03 2018 *)
PROG
(PARI) isok(p) = isprime(p) && issquarefree(p-2); \\ Michel Marcus, Dec 31 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition corrected by Michel Marcus, Dec 31 2013
STATUS
approved