%I #41 Feb 26 2024 04:42:02
%S 0,1,3,8,25,102,539,3496,26613,231170,2250127,24227484,285705641,
%T 3660694198,50624828355,751426146512,11913622408669,200919532718826,
%U 3591112295892983,67803855263483140,1348467602319393297,28174602435230023454,617001101156944493611
%N a(n) = (n+2)*(a(n-1) - a(n-2)).
%H Michael De Vlieger, <a href="/A051403/b051403.txt">Table of n, a(n) for n = -1..449</a>
%H Mohammed Bouras, <a href="http://www.ssmrmh.ro/2022/08/15/a-new-sequence-of-prime-numbers/">A new sequence of prime numbers</a>, Romanian Math. Mag. (15 August 2022).
%H Alexsandar Petojevic, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL5/Petojevic/petojevic5.html">The Function vM_m(s; a; z) and Some Well-Known Sequences</a>, Journal of Integer Sequences, Vol. 5 (2002), Article 02.1.7.
%F a(n) = (n+2)* A003422(n+1) /2, where A003422 are the left factorials. [_Gary Detlefs_, Jun 23 2010]
%t 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 *)
%Y Cf. A003422 (left factorial).
%K nonn
%O -1,3
%A _Aleksandar Petojevic_
%E a(-1) and a(0) from _Robert G. Wilson v_, Jun 15 2013
|