A000447
a(n) = 1^2 + 3^2 + 5^2 + 7^2 + ... + (2*n-1)^2 = n*(4*n^2 - 1)/3.
Original entry on oeis.org
0, 1, 10, 35, 84, 165, 286, 455, 680, 969, 1330, 1771, 2300, 2925, 3654, 4495, 5456, 6545, 7770, 9139, 10660, 12341, 14190, 16215, 18424, 20825, 23426, 26235, 29260, 32509, 35990, 39711, 43680, 47905, 52394, 57155, 62196, 67525, 73150, 79079, 85320, 91881, 98770, 105995, 113564, 121485
Offset: 0
G.f. = x + 10*x^2 + 35*x^3 + 84*x^4 + 165*x^5 + 286*x^6 + 455*x^7 + 680*x^8 + ...
a(2) = 10 since (-1, -1, -1), (-1, -1, 0), (-1, -1, 1), (-1, 0, 0), (-1, 0, 1), (-1, 1, 1), (0, 0, 0), (0, 0, 1), (0, 1, 1), (1, 1, 1) are the 10 solutions (x, y, z) of -1 <= x <= y <= z <= 1.
a(0) = 0, which corresponds to the empty sum.
- G. Chrystal, Textbook of Algebra, Vol. 1, A. & C. Black, 1886, Chap. XX, Sect. 10, Example 2.
- F. E. Croxton and D. J. Cowden, Applied General Statistics. 2nd ed., Prentice-Hall, Englewood Cliffs, NJ, 1955, p. 742.
- E. Deza and M. M. Deza, Figurate numbers, World Scientific Publishing (2012), page 140.
- C. V. Durell, Advanced Algebra, Volume 1, G. Bell & Son, 1932, Exercise IIIe, No. 4.
- L. B. W. Jolley, Summation of Series. 2nd ed., Dover, NY, 1961, p. 7.
- J. Riordan, Combinatorial Identities, Wiley, 1968, p. 217.
- N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
- T. D. Noe, Table of n, a(n) for n = 0..1000
- J. L. Bailey, A table to facilitate the fitting of certain logistic curves, Annals Math. Stat., Vol. 2 (1931), pp. 355-359. [Annotated scanned copy]
- Valentin Bakoev, Algorithmic approach to counting of certain types m-ary partitions, Discrete Mathematics, Vol. 275 (2004), pp. 17-41. - _Valentin Bakoev_, Mar 03 2009
- F. E. Croxton and D. J. Cowden, Applied General Statistics, 2nd Ed., Prentice-Hall, Englewood Cliffs, NJ, 1955 [Annotated scans of just pages 742-743]
- Milan Janjic, Two Enumerative Functions.
- T. P. Martin, Shells of atoms, Phys. Reports, Vol. 273 (1996), pp. 199-241, eq. (11).
- Simon Plouffe, Approximations de séries génératrices et quelques conjectures, Dissertation, Université du Québec à Montréal, 1992; arXiv:0911.4975 [math.NT], 2009.
- Simon Plouffe, 1031 Generating Functions, Appendix to Thesis, Montreal, 1992.
- Eric Weisstein's World of Mathematics, Haüy Construction.
- Eric Weisstein's World of Mathematics, Square Pyramid.
- Index entries for two-way infinite sequences.
- Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
(1/12)*t*(n^3-n)+n for t = 2, 4, 6, ... gives
A004006,
A006527,
A006003,
A005900,
A004068,
A000578,
A004126,
A000447,
A004188,
A004466,
A004467,
A007588,
A062025,
A063521,
A063522,
A063523.
A000447 is related to partitions of 2^n into powers of 2, as it is shown in the formula, example and cross-references of
A002577. -
Valentin Bakoev, Mar 03 2009
-
a000447 n = a000447_list !! n
a000447_list = scanl1 (+) a016754_list
-- Reinhard Zumkeller, Apr 02 2012
-
[n*(4*n^2-1)/3: n in [0..50]]; // Vincenzo Librandi, Jan 12 2016
-
A000447:=z*(1+6*z+z**2)/(z-1)**4; # Simon Plouffe, 1992 dissertation.
A000447:=n->n*(4*n^2 - 1)/3; seq(A000447(n), n=0..50); # Wesley Ivan Hurt, Mar 30 2014
-
Table[n (4 n^2 - 1)/3, {n, 0, 80}] (* Vladimir Joseph Stephan Orlovsky, Apr 18 2011 *)
LinearRecurrence[{4, -6, 4, -1}, {0, 1, 10, 35}, 80] (* Harvey P. Dale, May 25 2012 *)
Join[{0}, Accumulate[Range[1, 81, 2]^2]] (* Harvey P. Dale, Jul 18 2013 *)
CoefficientList[Series[x (1 + 6 x + x^2)/(-1 + x)^4, {x, 0, 20}], x] (* Eric W. Weisstein, Sep 27 2017 *)
-
A000447(n):=n*(4*n^2 - 1)/3$ makelist(A000447(n),n,0,20); /* Martin Ettl, Jan 07 2013 */
-
{a(n) = n * (4*n^2 - 1) / 3};
-
concat(0, Vec(x*(1+6*x+x^2)/(1-x)^4 + O(x^100))) \\ Altug Alkan, Jan 11 2016
-
def A000447(n): return n*((n**2<<2)-1)//3 # Chai Wah Wu, Feb 12 2023
Chrystal and Durell references from
R. K. Guy, Apr 02 2004
A028338
Triangle of coefficients in expansion of (x+1)*(x+3)*...*(x + 2n - 1) in rising powers of x.
Original entry on oeis.org
1, 1, 1, 3, 4, 1, 15, 23, 9, 1, 105, 176, 86, 16, 1, 945, 1689, 950, 230, 25, 1, 10395, 19524, 12139, 3480, 505, 36, 1, 135135, 264207, 177331, 57379, 10045, 973, 49, 1, 2027025, 4098240, 2924172, 1038016, 208054, 24640, 1708, 64, 1, 34459425, 71697105, 53809164, 20570444, 4574934, 626934, 53676, 2796, 81, 1
Offset: 0
G.f. for n = 4: (x + 1)*(x + 3)*(x + 5)*(x + 7) = 105 + 176*x + 86*x^2 + 16*x^3 + x^4.
The triangle T(n, k) begins:
n\k 0 1 2 3 4 5 6 7 8 9
0: 1
1: 1 1
2: 3 4 1
3: 15 23 9 1
4: 105 176 86 16 1
5: 945 1689 950 230 25 1
6: 10395 19524 12139 3480 505 36 1
7: 135135 264207 177331 57379 10045 973 49 1
8: 2027025 4098240 2924172 1038016 208054 24640 1708 64 1
9: 34459425 71697105 53809164 20570444 4574934 626934 53676 2796 81 1
...
row n = 10: 654729075 1396704420 1094071221 444647600 107494190 16486680 1646778 106800 4335 100 1.
... reformatted and extended. - _Wolfdieter Lang_, May 09 2017
O.g.f.s of diagonals d >= 0: D(2, x) = (3 + 8*x + x^2)/(1 - x)^5 generating [3, 23, 86, ...] = A024196(n+1), from the row d=2 entries of A288875 [3, 8, 1]. - _Wolfdieter Lang_, Jul 21 2017
Boas-Buck recurrence for column k=2 and n=4: T(4, 2) = (4!/2)*(2*(1+4*(5/12))*T(2,2)/2! + 1*(1 + 4*(1/2))*T(3,2)/3!) = (4!/2)*(8/3*1 + 3*9/3!) = 86. - _Wolfdieter Lang_, Aug 11 2017
- T. D. Noe, Rows n=0..50 of triangle, flattened
- Priyavrat Deshpande, Krishna Menon, and Anurag Singh, A combinatorial statistic for labeled threshold graphs, arXiv:2103.03865 [math.CO], 2021.
- Thomas Godland and Zakhar Kabluchko, Projections and angle sums of permutohedra and other polytopes, arXiv:2009.04186 [math.MG], 2020.
- Thomas Godland and Zakhar Kabluchko, Projections and Angle Sums of Belt Polytopes and Permutohedra, Res. Math. (2023) Vol. 78, Art. No. 140.
- Z. Kabluchko, V. Vysotsky, and D. Zaporozhets, Convex hulls of random walks, hyperplane arrangements, and Weyl chambers, arXiv preprint arXiv:1510.04073 [math.PR], 2015.
- Wolfdieter Lang, On Generating functions of Diagonals Sequences of Sheffer and Riordan Number Triangles, arXiv:1708.01421 [math.NT], August 2017.
- Bruce E. Sagan and Joshua P. Swanson, q-Stirling numbers in type B, arXiv:2205.14078 [math.CO], 2022.
A161198 is a scaled triangle version and
A109692 is a transposed triangle version.
-
nmax:=8; for n from 0 to nmax do a(n, 0) := doublefactorial(2*n-1) od: for n from 0 to nmax do a(n, n) := 1 od: for n from 2 to nmax do for m from 1 to n-1 do a(n, m) := (2*n-1)*a(n-1, m) + a(n-1, m-1) od; od: seq(seq(a(n, m), m=0..n), n=0..nmax); # Johannes W. Meijer, Jun 08 2009, revised Nov 25 2012
-
T[n_, k_] := Sum[(-2)^(n-i) Binomial[i, k] StirlingS1[n, i], {i, k, n}] (* Woodhouse *)
Join[{1},Flatten[Table[CoefficientList[Expand[Times@@Table[x+i,{i,1,2n+1,2}]],x],{n,0,10}]]] (* Harvey P. Dale, Jan 29 2013 *)
A161198
Triangle of polynomial coefficients related to the series expansions of (1-x)^((-1-2*n)/2).
Original entry on oeis.org
1, 1, 2, 3, 8, 4, 15, 46, 36, 8, 105, 352, 344, 128, 16, 945, 3378, 3800, 1840, 400, 32, 10395, 39048, 48556, 27840, 8080, 1152, 64, 135135, 528414, 709324, 459032, 160720, 31136, 3136, 128
Offset: 0
From _Gary W. Adamson_, Jul 19 2011: (Start)
The first few rows of matrix M are:
1, 2, 0, 0, 0, ...
1, 3, 2, 0, 0, ...
1, 4, 5, 2, 0, ...
1, 5, 9, 7, 2, ...
1, 6, 14, 16, 9, ... (End)
The first few G(p,n) polynomials are:
G(p,-3) = 15 - 46*p + 36*p^2 - 8*p^3
G(p,-2) = 3 - 8*p + 4*p^2
G(p,-1) = 1 - 2*p
The first few F(p,n) polynomials are:
F(p,0) = 1
F(p,1) = 1 + 2*p
F(p,2) = 3 + 8*p + 4*p^2
F(p,3) = 15 + 46*p + 36*p^2 + 8*p^3
The first few rows of the upper and lower hourglass triangles are:
[15, -46, 36, -8]
[3, -8, 4]
[1, -2]
[1]
[1, 2]
[3, 8, 4]
[15, 46, 36, 8]
A046161 gives the denominators of the series expansions of all (1-x)^((-1-2*n)/2).
A028338 is a scaled triangle version,
A039757 is a scaled signed triangle version and
A109692 is a transposed scaled triangle version.
A001147 is the first left hand column and equals the row sums.
A004041 is the second left hand column divided by 2,
A028339 is the third left hand column divided by 4,
A028340 is the fourth left hand column divided by 8,
A028341 is the fifth left hand column divided by 16.
-
nmax:=7; for n from 0 to nmax do a(n,n):=2^n: a(n,0):=doublefactorial(2*n-1) od: for n from 2 to nmax do for m from 1 to n-1 do a(n,m) := 2*a(n-1,m-1)+(2*n-1)*a(n-1,m) od: od: seq(seq(a(n,k), k=0..n), n=0..nmax);
nmax:=7: M := Matrix(1..nmax+1,1..nmax+1): A029635 := proc(n,k): binomial(n,k) + binomial(n-1,k-1) end: for i from 1 to nmax do for j from 1 to i+1 do M[i,j] := A029635(i,j-1) od: od: for n from 0 to nmax do B := M^n: for m from 0 to n do a(n,m):= B[1,m+1] od: od: seq(seq(a(n,m), m=0..n), n=0..nmax);
A161198 := proc(n,k) option remember; if k > n or k < 0 then 0 elif n = 0 and k = 0 then 1 else 2*A161198(n-1, k-1) + (2*n-1)*A161198(n-1, k) fi end:
seq(print(seq(A161198(n,k), k = 0..n)), n = 0..6); # Peter Luschny, May 09 2013
-
nmax = 7; a[n_, 0] := (2*n-1)!!; a[n_, n_] := 2^n; a[n_, m_] := a[n, m] = 2*a[n-1, m-1]+(2*n-1)*a[n-1, m]; Table[a[n, m], {n, 0, nmax}, {m, 0, n}] // Flatten (* Jean-François Alcover, Feb 25 2014, after Maple *)
-
for(n=0,9, print(Vec(Ser( 2^n*prod( k=1,n, x+(2*k-1)/2 ),,n+1)))) \\ M. F. Hasler, Jul 23 2011
-
@CachedFunction
def A161198(n,k):
if k > n or k < 0 : return 0
if n == 0 and k == 0: return 1
return 2*A161198(n-1,k-1)+(2*n-1)*A161198(n-1,k)
for n in (0..6): [A161198(n,k) for k in (0..n)] # Peter Luschny, May 09 2013
A103220
a(n) = n*(n+1)*(3*n^2+n-1)/6.
Original entry on oeis.org
0, 1, 13, 58, 170, 395, 791, 1428, 2388, 3765, 5665, 8206, 11518, 15743, 21035, 27560, 35496, 45033, 56373, 69730, 85330, 103411, 124223, 148028, 175100, 205725, 240201, 278838, 321958, 369895, 422995, 481616, 546128, 616913, 694365, 778890
Offset: 0
-
for(n=0,100,print1((3*n^4+4*n^3-n)/6,","))
-
CoefficientList[Series[- x (1 + 8 x + 3 x^2) / (x - 1)^5, {x, 0, 40}], x] (* Vincenzo Librandi, May 12 2013 *)
LinearRecurrence[{5,-10,10,-5,1},{0,1,13,58,170},40] (* Harvey P. Dale, Jan 23 2016 *)
-
a(n)=n*(n+1)*(3*n^2+n-1)/6 \\ Charles R Greathouse IV, Oct 07 2015
A099721
a(n) = n^2*(2*n+1).
Original entry on oeis.org
0, 3, 20, 63, 144, 275, 468, 735, 1088, 1539, 2100, 2783, 3600, 4563, 5684, 6975, 8448, 10115, 11988, 14079, 16400, 18963, 21780, 24863, 28224, 31875, 35828, 40095, 44688, 49619, 54900, 60543, 66560, 72963, 79764, 86975, 94608, 102675, 111188, 120159, 129600
Offset: 0
Douglas Winston (douglas.winston(AT)srupc.com), Nov 07 2004
Cf.
A000578,
A001093,
A011379,
A015237,
A027444,
A033431,
A033562,
A034262,
A053698,
A061317,
A066023,
A071568,
A098547.
-
[n^2*(2*n+1): n in [0..50]]; // Vincenzo Librandi, May 01 2011
-
A099721 := proc(n) n^2*(2*n+1) ; end proc:
seq(A099721(n),n=0..10) ;
-
a[n_]:=2*n^3+n^2; (* Vladimir Joseph Stephan Orlovsky, Dec 21 2008 *)
LinearRecurrence[{4,-6,4,-1},{0,3,20,63},40] (* Harvey P. Dale, Aug 19 2022 *)
-
a(n) = ceil(sum(i=n^2-(n-1), n^2+(n-1), if(!issquare(4*i+1), (2*i+1+sqrt(4*i+1))/2, 0))); \\ Michel Marcus, Nov 14 2014, after Richard R. Forberg
A109692
Triangle of coefficients in expansion of (1+x)*(1+3x)*(1+5x)*(1+7x)*...*(1+(2n-1)x).
Original entry on oeis.org
1, 1, 1, 1, 4, 3, 1, 9, 23, 15, 1, 16, 86, 176, 105, 1, 25, 230, 950, 1689, 945, 1, 36, 505, 3480, 12139, 19524, 10395, 1, 49, 973, 10045, 57379, 177331, 264207, 135135, 1, 64, 1708, 24640, 208054, 1038016, 2924172, 4098240, 2027025
Offset: 0
Triangle T(n,k) begins:
1;
1, 1;
1, 4, 3;
1, 9, 23, 15;
1, 16, 86, 176, 105;
1, 25, 230, 950, 1689, 945;
1, 36, 505, 3480, 12139, 19524, 10395;
...
Cf.
A161198 (transposed scaled triangle version).
-
nmax:=8; mmax:=nmax: for n from 0 to nmax do a(n, n) := doublefactorial(2*n-1) od: for n from 0 to nmax do a(n, 0):=1 od: for n from 2 to nmax do for m from 1 to n-1 do a(n, m) := a(n-1,m) + (2*n-1)*a(n-1,m-1) od; od: seq(seq(a(n, m), m=0..n), n=0..nmax); # Johannes W. Meijer, Jun 08 2009, revised Nov 25 2012
A024201
[ (2nd elementary symmetric function of S(n))/(first elementary symmetric function of S(n)) ], where S(n) = {first n+1 odd positive integers}.
Original entry on oeis.org
0, 2, 5, 9, 14, 19, 26, 34, 43, 53, 64, 75, 88, 102, 117, 133, 150, 167, 186, 206, 227, 249, 272, 295, 320, 346, 373, 401, 430, 459, 490, 522, 555, 589, 624, 659, 696, 734, 773, 813, 854, 895, 938, 982
Offset: 1
A024205
[ (4th elementary symmetric function of S(n))/(2nd elementary symmetric function of S(n)) ], where S(n) = {first n+3 odd positive integers}.
Original entry on oeis.org
1, 7, 24, 58, 121, 224, 379, 604, 915, 1332, 1878, 2575, 3449, 4528, 5841, 7421, 9301, 11516, 14105, 17106, 20562, 24516, 29015, 34104, 39835, 46259, 53430, 61402, 70235, 79987, 90721, 102499, 115388, 129455, 144770, 161405, 179433, 198929, 219973, 242642
Offset: 1
Showing 1-8 of 8 results.
Comments