OFFSET
1,1
COMMENTS
The first 564 terms are prime.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..564
MATHEMATICA
Select[Range[3, 10^6, 2], PowerMod[5, (# - 1)/2, (t = #*(# - 1)/2)] == t - 1 &] (* Amiram Eldar, Sep 24 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Sep 24 2020
STATUS
approved