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.

A005476 a(n) = n*(5*n - 1)/2.

This page as a plain text file.
%I A005476 #84 Aug 02 2024 01:59:10
%S A005476 0,2,9,21,38,60,87,119,156,198,245,297,354,416,483,555,632,714,801,
%T A005476 893,990,1092,1199,1311,1428,1550,1677,1809,1946,2088,2235,2387,2544,
%U A005476 2706,2873,3045,3222,3404,3591
%N A005476 a(n) = n*(5*n - 1)/2.
%C A005476 a(n) is half the number of ways to divide an n X n square into 3 rectangles whose side-lengths are integers. See Matthew Scroggs link. - _George Witty_, Feb 06 2024
%H A005476 G. C. Greubel, <a href="/A005476/b005476.txt">Table of n, a(n) for n = 0..1000</a>
%H A005476 Matthew Scroggs, <a href="https://www.mscroggs.co.uk/puzzles/advent2023/23">Advent Calendar 2023 Solutions</a>.
%H A005476 Leo Tavares, <a href="/A005476/a005476.jpg">Illustration: Triangulated Diamonds</a>
%H A005476 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1).
%F A005476 a(n) = C(5*n,2)/5 for n>=0. - _Zerinvary Lajos_, Jan 02 2007
%F A005476 a(n) = A033991(n) - A000326(n). - _Zerinvary Lajos_, Jun 11 2007
%F A005476 a(n) = a(n-1) + 5*n - 3 for n>0, a(0)=0. - _Vincenzo Librandi_, Nov 18 2010
%F A005476 a(n) = A000217(n) + A000384(n) = A000290(n) + A000326(n). - _Omar E. Pol_, Jan 11 2013
%F A005476 a(n) = A130520(5*n+1). - _Philippe Deléham_, Mar 26 2013
%F A005476 a(n) = A033994(n) - A033994(n-1). - _J. M. Bergot_, Jun 12 2013
%F A005476 From _Bruno Berselli_, Oct 17 2016: (Start)
%F A005476 G.f.: x*(2 + 3*x)/(1 - x)^3.
%F A005476 a(n) = A000217(3*n-1) - A000217(2*n-1). (End)
%F A005476 E.g.f.: x*(4 + 5*x)*exp(x)/2. - _G. C. Greubel_, Jul 30 2019
%F A005476 Sum_{n>=1} 1/a(n) = 2 * A294833. - _Amiram Eldar_, Nov 16 2020
%F A005476 From _Leo Tavares_, Nov 20 2021: (Start)
%F A005476 a(n) = A016754(n) - A133694(n+1). See Triangulated Diamonds illustration.
%F A005476 a(n) = A000290(n) + A000217(n) + 2*A000217(n-1)
%F A005476 a(n) = 2*A000217(n) + 3*A000217(n-1). (End)
%p A005476 [seq(binomial(5*n,2)/5,n=0..40)]; # _Zerinvary Lajos_, Jan 02 2007
%t A005476 Table[n(5n-1)/2, {n,0,40}] (* _Vladimir Joseph Stephan Orlovsky_, Oct 25 2008 *)
%o A005476 (PARI) a(n)=n*(5*n-1)/2 \\ _Charles R Greathouse IV_, Sep 24 2015
%o A005476 (Magma) [Binomial(5*n,2)/5: n in [0..40]]; // _G. C. Greubel_, Jul 30 2019
%o A005476 (Sage) [binomial(5*n,2)/5 for n in (0..40)] # _G. C. Greubel_, Jul 30 2019
%o A005476 (GAP) List([0..40], n-> Binomial(5*n,2)/5); # _G. C. Greubel_, Jul 30 2019
%Y A005476 Cf. A000217, A005475, A033994, A294833.
%Y A005476 Cf. numbers of the form n*(n*k-k+4)/2 listed in A226488.
%Y A005476 Cf. similar sequences listed in A022288.
%Y A005476 Cf. A016754, A133694, A000290.
%K A005476 nonn,easy
%O A005476 0,2
%A A005476 _N. J. A. Sloane_