OFFSET
1,1
COMMENTS
This is a sequence similar to A090552 but here with primes: a(1) = 2; for n>=2, a(n) is the smallest prime p for which p+1 is a multiple of a(n-1) + 1. - J. M. Bergot, Oct 16 2014, revised by Wolfdieter Lang, Nov 24 2014
EXAMPLE
3-1=2, 3*2-1=5, 3*2*2-1=11, etc. are the primes arising in A084402.
PROG
(PARI) lista(nn) = {v = vector(nn); for (n=1, nn, v[n] = 2; while (! isprime(p=prod(i=1, n, v[i])-1), v[n]++); print1(p, ", "); ); } \\ Michel Marcus, Oct 31 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, May 31 2003
EXTENSIONS
More terms from David Wasserman, Dec 22 2004
STATUS
approved