login
A051330
Euclid-Mullin sequence (A000945) with initial value a(1)=97 instead of a(1)=2.
2
97, 2, 3, 11, 19, 7, 461, 719, 5, 1411130344471, 139, 43, 36599, 1097, 17, 104370954301, 23, 13, 59, 41, 83, 196777201807603861, 569, 31, 149, 131, 7408846366410141253195388029, 29, 27017, 192228034594584553, 307, 2677, 73, 263, 389, 10463, 61, 47, 617, 743
OFFSET
1,1
LINKS
Tyler Busby, Table of n, a(n) for n = 1..51 (terms 1..45 from Robert Price)
Andrew R. Booker and Sean A. Irvine, The Euclid-Mullin graph, arXiv preprint arXiv:1508.03039 [math.NT], 2015-2016.
MATHEMATICA
a[1]=97; a[n_] := First[ Flatten[ FactorInteger[ 1+Product[ a[ j ], {j, 1, n-1} ] ] ] ]; Array[a, 10]
PROG
(PARI) lpf(n)=factor(n)[1, 1]
first(m)=my(v=vector(m)); v[1]=97; for(i=2, m, v[i]=lpf(1+prod(j=1, i-1, v[j]))); v; \\ Anders Hellström, Aug 31 2015
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
EXTENSIONS
a(34)-a(45) from Robert Price, Jul 20 2015
STATUS
approved