OFFSET
0,1
COMMENTS
From Bernard Schott, Jul 11 2019: (Start)
With this sequence, it is possible to prove that there are infinitely many prime numbers of the form 4*k+3.
Prove that:
1. Every prime factor of a(n) is > n, and,
2. All these prime factors are of the form 4*k+1 or 4*k+3.
3. There is at least one prime of the form 4*k+3 > n,
4. The set of prime numbers of the form 4*k+3 is infinite.
(End)
The smallest prime of the form 4*k + 3 that divides a(n) is A333924(n). - Bernard Schott, Oct 08 2021
REFERENCES
Transmath, Term S, Spécialité, Programme 2002, Nathan, 2002, Exercice 82 p. 93.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
FORMULA
a(n) = n*a(n-1) + n - 1 for n > 0, a(0) = 3. - Vincenzo Librandi, Sep 30 2013
MAPLE
MATHEMATICA
Table[4 n! - 1, {n, 0, 25}] (* Vincenzo Librandi, Sep 30 2013 *)
PROG
(Magma) [4*Factorial(n)-1: n in [0..25]]; /* or */ [3] cat [n eq 1 select n+2 else n*Self(n-1)+n-1: n in [1..25] ]; // Vincenzo Librandi, Sep 30 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 16 2010
STATUS
approved