OFFSET
1,1
COMMENTS
Fewer distinct primes than distinct values of a(n) are generated. So, e.g., k = 97, 98, 99, 100 all correspond to lcm([1..97]) - 1 = 69720375229712477164533808935312303556799, a prime.
LINKS
Jinyuan Wang, Table of n, a(n) for n = 1..125
PROG
(PARI) isok(k) = ispseudoprime(lcm(vector(k, i, i))-1); \\ Jinyuan Wang, May 02 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Nov 08 2000
STATUS
approved