OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
561 is a Sarrus number and 563 is prime.
MATHEMATICA
Select[Range[10^5], CompositeQ[#] && PowerMod[2, (# - 1), #] == 1 && PrimeQ[# + 2] &] (* Amiram Eldar, Jun 28 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Mar 04 2008
EXTENSIONS
More terms from R. J. Mathar, Apr 01 2008
STATUS
approved