editing
approved
editing
approved
nxt[{n_, a_}]:={n+1, (a-2n)(2n+1)}; Join[{1}, NestList[nxt, {1, 1}, 20][[;; , 2]]] (* Harvey P. Dale, Aug 25 2024 *)
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed
Homogeneous recurrence: (-2*n+9)*a(n-4) + (6*n-20)*a(n-3) + (-6*n+12)*a(n-2) + 2*n*a(n-1) - a(n) = 0 with a(1)=a(2)=1, a(3)=-3, a(4)=-35. - Georg Fischer, Sep 01 2022
approved
editing
editing
approved
a(n) -2*n*a(n-1) +(2*n-3)*a(n-2) +2*(4*n-5)=0. - R. J. Mathar, Aug 19 2022
A339516 := proc(n)
option remember ;
if n = 1 then
1;
else
(2*n-3)*(procname(n-1)-2*(n-2)) ;
end if;
end proc:
seq(A339516(n), n=1..30) ; # R. J. Mathar, Aug 24 2022
approved
editing
editing
approved
a(n) -2*n*a(n-1) +(2*n-3)*a(n-2) +2*(4*n-5)=0. - R. J. Mathar, Aug 19 2022
approved
editing