OFFSET
0,2
COMMENTS
Sequence designed to show that there are an infinity of primes congruent to 1 modulo 4 (A002144). Terms are not necessarily prime. Their smallest prime factors from A002144 are: 5, 101, 1020101, 53, 686743037.
Next term is too large to include.
From Max Alekseyev, Apr 21 2023: (Start)
Similarly to Sylvester's sequence (A000058), it is unknown if all terms are squarefree.
LINKS
S. A. Shirali, A family portrait of primes-a case study in discrimination, Math. Mag. Vol. 70, No. 4 (Oct., 1997), pp. 263-272.
FORMULA
For n > 1, a(n) = (a(n-1) - 1) * a(n-1)^2 + 1. - Max Alekseyev, Mar 25 2023
PROG
(PARI) lista(nn) = {a = vector(nn); a[1] = 5; for (n=2, nn, a[n] = 4*prod(i=1, n-1, a[i]^2) + 1; ); a; }
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Nov 14 2013
EXTENSIONS
a(0)=1 prepended by Max Alekseyev, Mar 25 2023
STATUS
approved