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.

A226450 a(n) = n*(3*n^2 - 5*n + 3).

This page as a plain text file.
%I A226450 #26 Feb 16 2025 08:33:19
%S A226450 0,1,10,45,124,265,486,805,1240,1809,2530,3421,4500,5785,7294,9045,
%T A226450 11056,13345,15930,18829,22060,25641,29590,33925,38664,43825,49426,
%U A226450 55485,62020,69049,76590,84661,93280,102465,112234,122605,133596,145225,157510,170469
%N A226450 a(n) = n*(3*n^2 - 5*n + 3).
%C A226450 See the comment in A226449.
%C A226450 For n >= 3, also the detour index of the n-barbell graph. - _Eric W. Weisstein_, Dec 20 2017
%H A226450 Bruno Berselli, <a href="/A226450/b226450.txt">Table of n, a(n) for n = 0..1000</a>
%H A226450 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/BarbellGraph.html">Barbell Graph</a>
%H A226450 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/DetourIndex.html">Detour Index</a>
%H A226450 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (4,-6,4,-1).
%F A226450 G.f.: x*(1+6*x+11*x^2)/(1-x)^4.
%F A226450 a(n) = A000567(n) + n*A000567(n-1).
%t A226450 Table[n (3 n^2 - 5 n + 3), {n, 0, 40}]
%t A226450 CoefficientList[Series[x (1 + 6 x + 11 x^2)/(1 - x)^4, {x, 0, 40}], x] (* _Vincenzo Librandi_, Aug 18 2013 *)
%t A226450 LinearRecurrence[{4, -6, 4, -1}, {1, 10, 45, 124}, {0, 20}] (* _Eric W. Weisstein_, Dec 20 2017 *)
%o A226450 (Magma) [n*(3*n^2-5*n+3): n in [0..40]];
%o A226450 (Magma) I:=[0,1,10,45]; [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..45]]; // _Vincenzo Librandi_, Aug 18 2013
%o A226450 (PARI) a(n) = n*(3*n^2 - 5*n + 3); \\ _Altug Alkan_, Dec 20 2017
%Y A226450 Cf. A000567.
%Y A226450 Similar sequences of the type b(m)+m*b(m-1), where b is a polygonal number: A006003, A069778, A143690, A204674, A212133, A226449, A226451.
%K A226450 nonn,easy
%O A226450 0,3
%A A226450 _Bruno Berselli_, Jun 07 2013