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.

A130885 3n^3 - 2n^2 + n - 1.

This page as a plain text file.
%I A130885 #23 May 26 2025 23:51:32
%S A130885 1,17,65,163,329,581,937,1415,2033,2809,3761,4907,6265,7853,9689,
%T A130885 11791,14177,16865,19873,23219,26921,30997,35465,40343,45649,51401,
%U A130885 57617,64315,71513,79229,87481,96287,105665,115633,126209,137411
%N A130885 3n^3 - 2n^2 + n - 1.
%H A130885 Vincenzo Librandi, <a href="/A130885/b130885.txt">Table of n, a(n) for n = 1..1000</a>
%H A130885 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (4,-6,4,-1).
%F A130885 G.f.: x*(1+13*x+3*x^2+x^3)/(-1+x)^4. - _R. J. Mathar_, Nov 14 2007
%F A130885 a(n) = 4*a(n-1)-6*a(n-2)+4*a(n-3)-a(n-4). - _Vincenzo Librandi_, Feb 12 2013
%t A130885 Table[3*n^3 - 2*n^2 + n - 1, {n, 1, 40}] (* _Vincenzo Librandi_, Feb 12 2013 *)
%t A130885 LinearRecurrence[{4,-6,4,-1},{1,17,65,163},40] (* _Harvey P. Dale_, Nov 21 2019 *)
%o A130885 (Magma) [3*n^3-2*n^2+n-1: n in [1..40]]; // _Vincenzo Librandi_, Feb 12 2013
%o A130885 (Magma) I:=[1, 17, 65, 163]; [n le 4 select I[n] else 4*Self(n-1)-6*Self(n-2)+4*Self(n-3)-Self(n-4): n in [1..40]]; // _Vincenzo Librandi_, Feb 12 2013
%Y A130885 Cf. A084849; A056109; A056105.
%K A130885 nonn,easy
%O A130885 1,2
%A A130885 _Mohammad K. Azarian_, Jul 26 2007