OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..120
EXAMPLE
8!+1 = 61*661 and 61 is not 1 mod 8, so the first term is 61.
PROG
(PARI) choose(n) = {my(f=factor(n!+1)[, 1]); for(i=1, #f, if(f[i]%n != 1, return(f[i]))); 0; }
lista(nn) = for(k=1, nn, if(choose(k)>1, print1(choose(k), ", "))); \\ Jinyuan Wang, Oct 03 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Sep 23 2001
EXTENSIONS
More terms from Don Reble, Sep 23 2001
STATUS
approved