OFFSET
1,1
COMMENTS
LINKS
Jeppe Stig Nielsen, Table of n, a(n) for n = 1..600
Carlos Rivera, Puzzle 270.
EXAMPLE
17 is here because 17!-1 is divisible by 19 and 19 is the next prime larger than 17.
PROG
(PARI) p=2; forprime(q=3, , prod(j=1, p, Mod(j, q)) == 1 && print1(p, ", "); p=q) \\ Jeppe Stig Nielsen, Oct 04 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Stuart Gascoigne (stuart.g(AT)scoigne.com), Jun 24 2004
STATUS
approved