login
A051403
a(n) = (n+2)*(a(n-1) - a(n-2)).
14
0, 1, 3, 8, 25, 102, 539, 3496, 26613, 231170, 2250127, 24227484, 285705641, 3660694198, 50624828355, 751426146512, 11913622408669, 200919532718826, 3591112295892983, 67803855263483140, 1348467602319393297, 28174602435230023454, 617001101156944493611
OFFSET
-1,3
LINKS
Mohammed Bouras, A new sequence of prime numbers, Romanian Math. Mag. (15 August 2022).
Alexsandar Petojevic, The Function vM_m(s; a; z) and Some Well-Known Sequences, Journal of Integer Sequences, Vol. 5 (2002), Article 02.1.7.
FORMULA
a(n) = (n+2)* A003422(n+1) /2, where A003422 are the left factorials. [Gary Detlefs, Jun 23 2010]
MATHEMATICA
RecurrenceTable[{a[0]==1, a[-1]==0, a[n]==(n+2)(a[n-1]-a[n-2])}, a[n], {n, -1, 21}] (* Harvey P. Dale, Aug 24 2011 *)
CROSSREFS
Cf. A003422 (left factorial).
Sequence in context: A182927 A012408 A184325 * A004205 A268114 A097713
KEYWORD
nonn
EXTENSIONS
a(-1) and a(0) from Robert G. Wilson v, Jun 15 2013
STATUS
approved