OFFSET
1,1
COMMENTS
Since n^3 + 1 is clearly composite (n>1), this is n such that 2^(n^3) == 1 (mod n^3+1).
There is only one n such that n + 1 is a composite number up to 10^10: 14700. - Altug Alkan, Mar 27 2016
FORMULA
a(n) = A265653(n) - 1. - Altug Alkan, Mar 24 2016
PROG
(PARI) is(n)=Mod(2, n^3+1)^(n^3)==1
CROSSREFS
KEYWORD
nonn
AUTHOR
Jeppe Stig Nielsen, Mar 23 2016
EXTENSIONS
More terms from Altug Alkan, Mar 24 2016
STATUS
approved