OFFSET
1,1
LINKS
Tyler Busby, Table of n, a(n) for n = 1..51 (terms 1..43 from Robert Price)
EXAMPLE
Product of first 28 terms +1 is 210102491806660945690525037461258737117339882568590700172677987135969766432980375 44232424110733238484973548134278212304532631, which is divisible by 103. Hence a(29)=103.
MATHEMATICA
a[1]=43; a[n_] := First[ Flatten[ FactorInteger[ 1+Product[ a[ j ], {j, n-1} ] ] ] ]; Array[a, 15]
PROG
(PARI) spf(n)=factor(n)[1, 1]
first(m)={my(v=vector(m), i, t=43); v[1]=43; for(i=2, m, v[i]=spf(t+1); t*=v[i]; ); v; } /* Anders Hellström, Jul 19 2015 */
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
a(31)-a(38) from Robert Price, Jul 19 2015
STATUS
approved