OFFSET
1,3
COMMENTS
Numbers t such that 2^t-1 is a term are 0, 1, 2, 4, 9, 12, 16, 21, ...
Primes p such that 2^((p^2-1)/2)-1 is a term are 3, 5, 7, 13, 19, 29, 37, 43, 47, 61, 71, 89, 103, 107, 127, 131, 139, 173, 191, 211, ...(cf. A062326).
a(14) > 10^11. - Hiroaki Yamanouchi, Sep 14 2018
PROG
(PARI) isok(n)=Mod(2, n^2+1)^n==-2;
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Altug Alkan, Sep 13 2018, following a suggestion from Max Alekseyev
EXTENSIONS
a(13) from Hiroaki Yamanouchi, Sep 14 2018
a(14) from Giovanni Resta, Sep 17 2018
STATUS
approved