OFFSET
1,1
EXAMPLE
a(5) = 6931 is the smallest composite number c such that c-1= 6930 is divisible by 2310, the product of first 5 prime numbers 2,3,5,7 and 11.
PROG
(PARI) g(n) = prod(i=1, n, prime(i)); k(n) = m=1; while(isprime(m*g(n)+1), m=m+1); print(m*g(n)+1); for(i=1, 30, k(i))
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Sep 08 2002
EXTENSIONS
More terms from Matthew Conroy, Sep 10 2002
STATUS
approved