OFFSET
1,1
COMMENTS
a(23) is a 122-digit prime.
a(5), a(7), a(9), a(14) and a(23) are all the product of the preceding terms + 1. - Robert Price, Jul 10 2015
a(32) requires factoring a composite 292 digit integer. - Robert Price, Sep 05 2021
LINKS
Robert Price, Table of n, a(n) for n = 1..31 [corrected Sep 05, 2021]
FORMULA
a(n) = A020639(1 + Product_{k=1..n-1} a(k)), a(1) = 79.
MATHEMATICA
a[1]=79; a[n_] := First[ Flatten[ FactorInteger[ 1+Product[ a[ j ], {j, 1, n-1} ] ] ] ]; Array[a, 10]
PROG
(PARI) spf(n)=my(f=factor(n)[1, 1]); f
first(m)=my(v=vector(m)); v[1]=79; for(i=2, m, v[i]=spf(1+prod(j=1, i-1, v[j]))); v \\ Anders Hellström, Dec 06 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved