OFFSET
1,2
COMMENTS
This sequence is infinite and its relative density in the sequence of primes is equal to Artin's constant (A005596): Product_{p prime} (1-1/(p*(p-1))) = 0.373955... (Victorovich, 2013). - Amiram Eldar, Dec 29 2020
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..10000
Radoslav Tsvetkov, On the distribution of k-free numbers and r-tuples of k-free numbers. A survey, Notes on Number Theory and Discrete Mathematics, Vol. 25, No. 3 (2019), pp. 207-222. See section 3.4, p. 210.
G. D. Victorovich, On additive property of arithmetic functions (in Russian), Thesis, Moscow State University, 2013.
MATHEMATICA
Select[Prime[Range[200]]-1, SquareFreeQ] (* Harvey P. Dale, Feb 09 2015 *)
PROG
(PARI) isok(n) = issquarefree(n) && isprime(n+1); \\ Michel Marcus, Mar 22 2016
(PARI) lista(nn) = forprime(p=2, nn, if (issquarefree(p-1), print1(p-1, ", "))); \\ Michel Marcus, Mar 22 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Oct 23 2002
EXTENSIONS
Wrong formula removed by Amiram Eldar, Dec 29 2020
STATUS
approved