cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A051398 a(n) = -(n-3)*a(n-1) + 2*(n-2)^2.

This page as a plain text file.
%I A051398 #23 Nov 18 2024 12:53:23
%S A051398 2,6,6,14,-6,102,-514,3726,-29646,267014,-2669898,29369166,-352429654,
%T A051398 4581585894,-64142202066,962133031502,-15394128503454,261700184559366,
%U A051398 -4710603322067866,89501463119290254,-1790029262385804198,37590614510101889126
%N A051398 a(n) = -(n-3)*a(n-1) + 2*(n-2)^2.
%H A051398 Stefano Spezia, <a href="/A051398/b051398.txt">Table of n, a(n) for n = 3..452</a>
%H A051398 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 A051398 a(n) = A056158(n) + 2n.
%t A051398 a[3]=2; a[n_]:=a[n]=-(n-3)*a[n-1]+2*(n-2)^2; Array[a,22,3] (* _Stefano Spezia_, Sep 16 2022 *)
%t A051398 nxt[{n_,a_}]:={n+1,2(n-1)^2-a(n-2)}; NestList[nxt,{3,2},30][[;;,2]] (* _Harvey P. Dale_, Nov 18 2024 *)
%Y A051398 Cf. A056158.
%K A051398 sign
%O A051398 3,1
%A A051398 _Aleksandar Petojevic_