OFFSET
1,2
COMMENTS
The asymptotic density of this sequence is 1 - 2 * Product_{p prime} (1-1/(p*(p-1))) = 1 - 2 * A005596 = 0.252088... - Amiram Eldar, Feb 28 2021
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[100], ! SquareFreeQ[Prime[ # ] + 2] &] (* Zak Seidov, Oct 28 2008 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Ray Chandler, Feb 15 2004
STATUS
approved