OFFSET
1,1
MATHEMATICA
a[1]=89; 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]=89; for(i=2, m, v[i]=spf(1+prod(j=1, i-1, v[j]))); v \\ Anders Hellström, Dec 06 2015
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
EXTENSIONS
a(35)-a(44) from Robert Price, Jul 09 2015
STATUS
approved