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.

Showing 1-10 of 15 results. Next

A126274 Partial sum of A005915.

Original entry on oeis.org

1, 15, 72, 220, 525, 1071, 1960, 3312, 5265, 7975, 11616, 16380, 22477, 30135, 39600, 51136, 65025, 81567, 101080, 123900, 150381, 180895, 215832, 255600, 300625, 351351, 408240, 471772, 542445, 620775, 707296, 802560, 907137, 1021615
Offset: 0

Views

Author

Jonathan Vos Post, Mar 09 2007

Keywords

Crossrefs

Programs

  • GAP
    List([0..35],n->(1/4)*(n+1)^2*(n+2)*(3*n+2)); # Muniru A Asiru, Oct 24 2018
  • Magma
    [1/4*(n + 1)^2*(n + 2)*(3*n + 2): n in [0..30]]; // Vincenzo Librandi, May 16 2011
    
  • Maple
    seq(coeff(series((1+10*x+7*x^2)/(1-x)^5,x,n+1), x, n), n = 0 .. 35); # Muniru A Asiru, Oct 24 2018
  • Mathematica
    Table[(3*n^4 + 14*n^3 + 23*n^2 + 16*n + 4)/4, {n,0,10}] (* G. C. Greubel, Oct 23 2018 *)
    LinearRecurrence[{5,-10,10,-5,1},{1,15,72,220,525},40] (* Harvey P. Dale, Mar 31 2022 *)
  • PARI
    vector(30, n, n--; (3*n^4+14*n^3+23*n^2+16*n+4)/4) \\ G. C. Greubel, Oct 23 2018
    

Formula

a(n) = Sum_{i=0..n} (i + 1)*(3*i^2 + 3*i + 1).
a(n) = (3*n^4 + 6*n^3 + 3*n^2)/4 + 2*n^3 + 5*n^2 + 4*n + 1.
a(n) = (1/4)*(n + 1)^2*(n + 2)*(3*n + 2). - N-E. Fahssi, May 03 2008
G.f.: (1 + 10 x + 7 x^2)/(1 - x)^5. - N-E. Fahssi, May 03 2008
a(n) = (n+1)*A000578(n+1) - Sum_{i=0..n} A000578(i). - Bruno Berselli, Apr 24 2010
a(n) = Sum_{i=1..n} Sum_{j=1..n} Sum_{k=1..n} max(i,j,k). - Enrique Pérez Herrero, Feb 26 2013
a(n) = A000217(n+1)*A000326(n+1). - Bruno Berselli, Dec 13 2013
E.g.f.: (3*x^4 + 32*x^3 + 86*x^2 + 56*x + 4)*exp(x)/4. - G. C. Greubel, Oct 23 2018

Extensions

Corrected and extended by Vincenzo Librandi, May 16 2011

A211795 Number of (w,x,y,z) with all terms in {1,...,n} and w*x < 2*y*z.

Original entry on oeis.org

0, 1, 11, 58, 177, 437, 894, 1659, 2813, 4502, 6836, 10008, 14121, 19449, 26117, 34372, 44422, 56597, 71044, 88160, 108115, 131328, 158074, 188773, 223604, 263172, 307719, 357715, 413493, 475690, 544480, 620632, 704381, 796413
Offset: 0

Views

Author

Clark Kimberling, Apr 27 2012

Keywords

Comments

Each sequence in the following guide counts 4-tuples
(w,x,y,z) such that the indicated relation holds and the four numbers w,x,y,z are in {1,...,n}. The notation "m div" means that m divides every term of the sequence.
A211058 ... wx <= yz
A211787 ... wx <= 2yz
A211795 ... wx < 2yz
A211797 ... wx > 2yz
A211809 ... wx >= 2yz
A211812 ... wx <= 3yz
A211917 ... wx < 3yz
A211918 ... wx > 3yz
A211919 ... wx >= 3yz
A211920 ... 2wx < 3yz
A211921 ... 2wx <= 3yz
A211922 ... 2wx > 3yz
A211923 ... 2wx >= 3yz
A212019 ... wx = 2yz ..... 2 div
A212020 ... wx = 3yz ..... 2 div
A212021 ... 2wx = 3yz .... 2 div
A212047 ... wx = 4yz
A212048 ... 3wx = 4yz .... 2 div
A212049 ... wx = 5yz ..... 2 div
A212050 ... 2wx = 5yz .... 2 div
A212051 ... 3wx = 5yz .... 2 div
A212052 ... 4wx = 5yz .... 2 div
A209978 ... wx = yz + 1 .. 2 div
A212053 ... wx <= yz + 1
A212054 ... wx > yz + 1
A212055 ... wx <= yz + 2
A212056 ... wx > yz + 2
A197168 ... wx = yz + 2 .. 2 div
A061201 ... w = xyz
A212057 ... w < xyz
A212058 ... w >= xyz
A212059 ... w = xyz - 1
A212060 ... w = xyz - 2
A212061 ... wx = (yz)^2
A212062 ... w^2 = xyz
A212063 ... w^2 < xyz
A212064 ... w^2 >= xyz
A212065 ... w^2 <= xyz
A212066 ... w^2 > xyz
A212067 ... w^3 = xyz
A002623 ... w = 2x + y + z
A006918 ... w = 2x + 2y + z
A000601 ... w = x + 2y + 3z (except for initial 0's)
A212068 ... 2w = x + y + z
A212069 ... 3w = x + y + z (w = average{x,y,z})
A212088 ... 3w < x + y + z
A212089 ... 3w >= x + y + z
A212090 ... w < x + y + z
A000332 ... w >= x + y + z
A212145 ... w < 2x + y + z
A001752 ... w >= 2x + y + z
A001400 ... w = 2x +3y + 4z
A005900 ... w = -x + y + z
A192023 ... w = -x + y + z + 2
A212091 ... w^2 = x^2 + y^2 + z^2 ... 3 div
A212087 ... w^2 + x^2 = y^2 + z^2
A212092 ... w^2 < x^2 + y^2 + z^2
A212093 ... w^2 <= x^2 + y^2 + z^2
A212094 ... w^2 > x^2 + y^2 + z^2
A212095 ... w^2 >= x^2 + y^2 + z^2
A212096 ... w^3 = x^3 + y^3 + z^3 ... 6 div
A212097 ... w^3 < x^3 + y^3 + z^3
A212098 ... w^3 <= x^3 + y^3 + z^3
A212099 ... w^3 > x^3 + y^3 + z^3
A212100 ... w^3 >= x^3 + y^3 + z^3
A212101 ... wx^2 = yz^2
A212102 ... 1/w = 1/x + 1/y + 1/z
A212103 ... 3/w = 1/x + 1/y + 1/z; w = h.m. of {x,y,z}
A212104 ... 3/w >= 1/x + 1/y + 1/z; w >= h.m.
A212105 ... 3/w < 1/x + 1/y + 1/z; w < h.m.
A212106 ... 3/w > 1/x + 1/y + 1/z; w > h.m.
A212107 ... 3/w <= 1/x + 1/y + 1/z; w <= h.m.
A212133 ... median(w,x,y,z) = mean(w,x,y,z)
A212134 ... median(w,x,y,z) <= mean(w,x,y,z)
A212135 ... median(w,x,y,z) > mean(w,x,y,z)
A212241 ... wx + yz > n
A212243 ... 2wx + yz = n
A212244 ... w = xyz - n
A212245 ... w = xyz - 2n
A212246 ... 2w = x + y + z - n
A212247 ... 3w = x + y + z + n
A212249 ... 3w < x + y + z + n
A212250 ... 3w >= x + y + z + n
A212251 ... 3w = x + y + z + n + 1
A212252 ... 3w = x + y + z + n + 2
A212254 ... w = x + 2y + 3z - n
A212255 ... w^2 = mean(x^2, y^2, z^2)
A212256 ... 4/w = 1/x + 1/y +1/z + 1/n
In the list above, if the relation in the second column is of the form "w rel ax + by + cz" then the sequence is linearly recurrent. In the list below, the same is true for expressions involving more than one relation.
A000332 ... w < x <= y < z .... C(n,4)
A000914 ... w < x <= y < z .... Stirling 1st kind
A000914 ... w < x <= y >= z ... Stirling 1st kind
A050534 ... w < x < y >= z .... tritriangular
A001296 ... w <= x <= y >= z .. 4-dim pyramidal
A006322 ... x < x > y >= z
A002418 ... w < x >= y < z
A050534 ... w < x >=y >= z
A212415 ... w < x >= y <= z
A001296 ... w < x >= y <= z
A212246 ... w <= x > y <= z
A006322 ... w <= x >= y <= z
A212501 ... w > x < y >= z
A212503 ... w < 2x and y < 2z ..... A (note below)
A212504 ... w < 2x and y > 2z ..... A
A212505 ... w < 2x and y >= 2z .... A
A212506 ... w <= 2x and y <= 2z ... A
A212507 ... w < 2x and y <= 2z .... B
A212508 ... w < 2x and y < 3z ..... C
A212509 ... w < 2x and y <= 3z .... C
A212510 ... w < 2x and y > 3z ..... C
A212511 ... w < 2x and y >= 3z .... C
A212512 ... w <= 2x and y < 3z .... C
A212513 ... w <= 2x and y <= 3z ... C
A212514 ... w <= 2x and y > 3z .... C
A212515 ... w <= 2x and y >= 3z ... C
A212516 ... w > 2x and y < 3z ..... C
A212517 ... w > 2x and y <= 3z .... C
A212518 ... w > 2x and y > 3z ..... C
A212519 ... w > 2x and y >= 3z .... C
A212520 ... w >= 2x and y < 3z .... C
A212521 ... w >= 2x and y <= 3z ... C
A212522 ... w >= 2x and y > 3z .... C
A212523 ... w + x < y + z
A212560 ... w + x <= y + z
A212561 ... w + x = 2y + 2z
A212562 ... w + x < 2y + 2z ....... B
A212563 ... w + x <= 2y + 2z ...... B
A212564 ... w + x > 2y + 2z ....... B
A212565 ... w + x >= 2y + 2z ...... B
A212566 ... w + x = 3y + 3z
A212567 ... 2w + 2x = 3y + 3z
A212570 ... |w - x| = |x - y| + |y - z|
A212571 ... |w - x| < |x - y| + |y - z| ... B ... 4 div
A212572 ... |w - x| <= |x - y| + |y - z| .. B
A212573 ... |w - x| > |x - y| + |y - z| ... B ... 2 div
A212574 ... |w - x| >= |x - y| + |y - z| .. B
A212575 ... 2|w - x| = |x - y| + |y - z|
A212576 ... |w - x| = 2|x - y| + 2|y - z|
A212577 ... |w - x| = 2|x - y| - |y - z|
A212578 ... 2|w - x| = |x - y| - |y - z|
A212579 ... min{|w-x|,|w-y|} = min{|x-y|,|x-z|}
A212692 ... w = |x - y| + |y - z| ............... 2 div
A212568 ... w < |x - y| + |y - z| ............... 2 div
A212573 ... w <= |x - y| + |y - z| .............. 2 div
A212574 ... w > |x - y| + |y - z|
A212575 ... w >= |x - y| + |y - z|
A212676 ... w + x = |x - y| + |y - z| ......... H
A212677 ... w + y = |x - y| + |y - z|
A212678 ... w + x + y = |x - y| + |y - z|
A006918 ... w + x + y + z = |x - y| + |y - z| . H
A212679 ... |x - y| = |y - z| ................. H
A212680 ... |x - y| = |y - z| + 1 ..............H 2 div
A212681 ... |x - y| < |y - z| ................... 2 div
A212682 ... |x - y| >= |y - z|
A212683 ... |x - y| = w + |y - z| ............... 2 div
A212684 ... |x - y| = n - w + |y - z|
A212685 ... |w - x| = w + |y - z|
A186707 ... |w - x| < w + |y - z| ... (Note D)
A212714 ... |w - x| >= w + |y - z| .......... H . 2 div
A212686 ... 2*|w - x| = n + |y - z| ............. 4 div
A212687 ... 2*|w - x| < n + |y - z| ......... B
A212688 ... 2*|w - x| < n + |y - z| ......... B . 2 div
A212689 ... 2*|w - x| > n + |y - z| ......... B . 2 div
A212690 ... 2*|w - x| <= n + |y - z| ........ B
A212691 ... w + |x - y| = |x - z| + |y - z| . E . 2 div
...
In the above lists, all the terms of (w,x,y,z) are in {1,...,n}, but in the next lists they are all in {0,...,n}, and sequences are all linearly recurrent.
R=range{w,x,y,z}=max{w,x,y,z}-min{w,x,y,z}.
A212740 ... max{w,x,y,z} < 2*min{w,x,y,z} .... A
A212741 ... max{w,x,y,z} >= 2*min{w,x,y,z} ... A
A212742 ... max{w,x,y,z} <= 2*min{w,x,y,z} ... A
A212743 ... max{w,x,y,z} > 2*min{w,x,y,z} .... A . 2 div
A212744 ... w=range (=max-min) ............... E
A212745 ... w=max{w,x,y,z} - 2*min{w,x,y,z}
A212746 ... R is in {w,x,y,z} ................ E
A212569 ... R is not in {w,x,y,z} ............ E
A212749 ... w=R or x
A212750 ... w=R or x=R or y
A212751 ... w=R or x=R or y
A212752 ... wR ......... A
A212753 ... wR or z>R ......... D
A212754 ... wR or y>R or z>R ......... D
A002415 ... w = x + R ........................ D
A212755 ... |w - x| = R ...................... D
A212756 ... 2w = x + R
A212757 ... 2w = R
A212758 ... w = floor(R/2)
A002413 ... w = floor((x+y+z/2))
A212759 ... w, x, y are even
A212760 ... w is even and x = y + z .......... E
A212761 ... w is odd and x and y are even .... F . 2 div
A212762 ... w and x are odd y is even ........ F . 2 div
A212763 ... w, x, y are odd .................. F
A212764 ... w, x, y are even and z is odd .... F
A030179 ... w and x are even and y and z odd
A212765 ... w is even and x,y,z are odd ...... F
A212766 ... w is even and x is odd ........... A . 2 div
A212767 ... w and x are even and w+x=y+z ..... E
A212889 ... R is even ........................ A
A212890 ... R is odd ......................... A . 2 div
A212742 ... w-x, x-y, y-z are all even ....... A
A212892 ... w-x, x-y, y-z are all odd ........ A
A212893 ... w-x, x-y, y-z have same parity ... A
A005915 ... min{|w-x|, |x-y|, |y-z|} = 0
A212894 ... min{|w-x|, |x-y|, |y-z|} = 1
A212895 ... min{|w-x|, |x-y|, |y-z|} = 2
A179824 ... min{|w-x|, |x-y|, |y-z|} > 0
A212896 ... min{|w-x|, |x-y|, |y-z|} <= 1
A212897 ... min{|w-x|, |x-y|, |y-z|} > 1
A212898 ... min{|w-x|, |x-y|, |y-z|} <= 2
A212899 ... min{|w-x|, |x-y|, |y-z|} > 2
A212901 ... |w-x| = |x-y| = |y-z|
A212900 ... |w-x|, |x-y|, |y-z| are distinct . G
A212902 ... |w-x| < |x-y| < |y-z| ............ G
A212903 ... |w-x| <= |x-y| <= |y-z| .......... G
A212904 ... |w-x| + |x-y| + |y-z| = n ........ H
A212905 ... |w-x| + |x-y| + |y-z| = 2n ....... H
...
Note A: A212503-A212506 (and others) have these recurrence coefficients: 2,2,-6,0,6,-2,-2,1.
B: 3,-1,-5,5,1,-3,1
C: 0,2,2,-1,-4,0,2,0,-2,0,4,1,-2,-2,0,1
D: 4,-5,0,5,-4,1
E: 1,3,-3,-3,3,1,-1
F: 1,4,-4,-6,6,4,-4,-1,1
G: 2,1,-3,-1,1,3,-1,-2,1
H: 2,1,-4,1,2,-1

Examples

			a(2)=11 counts these (w,x,y,z): (1,1,1,1), (1,1,1,2), (1,1,2,1), (2,1,2,1), (2,1,1,2), (1,2,2,1), (1,2,1,2), (1,1,2,2), (1,2,2,2), (2,1,2,2), (2,2,2,2).
		

References

  • A. Barvinok, Lattice Points and Lattice Polytopes, Chapter 7 in Handbook of Discrete and Computational Geometry, CRC Press, 1997, 133-152.
  • P. Gritzmann and J. M. Wills, Lattice Points, Chapter 3.2 in Handbook of Convex Geometry, vol. B, North-Holland, 1993, 765-797.

Crossrefs

Programs

  • Mathematica
    t = Compile[{{n, _Integer}}, Module[{s = 0},
        (Do[If[w*x < 2 y*z, s = s + 1], {w, 1, #},
          {x, 1, #}, {y, 1, #}, {z, 1, #}] &[n]; s)]];
    Map[t[#] &, Range[0, 40]] (* A211795 *)
    (* Peter J. C. Moses, Apr 13 2012 *)

Formula

a(n) = n^4 - A211809(n).

A007588 Stella octangula numbers: a(n) = n*(2*n^2 - 1).

Original entry on oeis.org

0, 1, 14, 51, 124, 245, 426, 679, 1016, 1449, 1990, 2651, 3444, 4381, 5474, 6735, 8176, 9809, 11646, 13699, 15980, 18501, 21274, 24311, 27624, 31225, 35126, 39339, 43876, 48749, 53970, 59551, 65504, 71841, 78574, 85715, 93276, 101269, 109706, 118599, 127960
Offset: 0

Keywords

Comments

Also as a(n)=(1/6)*(12*n^3-6*n), n>0: structured hexagonal anti-diamond numbers (vertex structure 13) (Cf. A005915 = alternate vertex; A100188 = structured anti-diamonds; A100145 for more on structured numbers). - James A. Record (james.record(AT)gmail.com), Nov 07 2004
The only known square stella octangula number for n>1 is a(169) = 169*(2*169^2 - 1) = 9653449 = 3107^2. - Alexander Adamchuk, Jun 02 2008
Ljunggren proved that 9653449 = (13*239)^2 is the only square stella octangula number for n>1. See A229384 and the Wikipedia link. - Jonathan Sondow, Sep 30 2013
4*A007588 = A144138(ChebyshevU[3,n]). - Vladimir Joseph Stephan Orlovsky, Jun 30 2011
If A016813 is regarded as a regular triangle (with leading terms listed in A001844), a(n) provides the row sums of this triangle: 1, 5+9=14, 13+17+21=51 and so on. - J. M. Bergot, Jul 05 2013
Shares its digital root, A267017, with n*(n^2 + 1)/2 ("sum of the next n natural numbers" see A006003). - Peter M. Chema, Aug 28 2016

References

  • J. H. Conway and R. K. Guy, The Book of Numbers, Copernicus Press, NY, 1996, p. 51.
  • E. Deza and M. M. Deza, Figurate numbers, World Scientific Publishing (2012), page 140.
  • W. Ljunggren, Zur Theorie der Gleichung x^2 + 1 = Dy^4, Avh. Norske Vid. Akad. Oslo. I. 1942 (5): 27.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Backwards differences give star numbers A003154: A003154(n)=a(n)-a(n-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.
Cf. A001653 = Numbers n such that 2*n^2 - 1 is a square.
a(169) = (A229384(3)*A229384(4))^2.

Programs

Formula

G.f.: x*(1+10*x+x^2)/(1-x)^4.
a(n) = n*A056220(n).
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4), n>3. - Harvey P. Dale, Sep 16 2011
From Ilya Gutkovskiy, Jul 02 2016: (Start)
E.g.f.: x*(1 + 6*x + 2*x^2)*exp(x).
Dirichlet g.f.: 2*zeta(s-3) - zeta(s-1). (End)
a(n) = A004188(n) + A135503(n). - Miquel Cerda, Dec 25 2016
a(n) = A061317(n) - A005843(n) = A062392(n) - A062392(n-1). - J.S. Seneschal, Jul 01 2025

Extensions

In the formula given in the 1995 Encyclopedia of Integer Sequences, the second 2 should be an exponent.

A100157 Structured rhombic dodecahedral numbers (vertex structure 9).

Original entry on oeis.org

1, 14, 55, 140, 285, 506, 819, 1240, 1785, 2470, 3311, 4324, 5525, 6930, 8555, 10416, 12529, 14910, 17575, 20540, 23821, 27434, 31395, 35720, 40425, 45526, 51039, 56980, 63365, 70210, 77531, 85344, 93665, 102510, 111895, 121836, 132349, 143450, 155155, 167480
Offset: 1

Author

James A. Record (james.record(AT)gmail.com), Nov 07 2004

Keywords

Comments

Also structured triakis octahedral numbers (vertex structure 9) (Cf. A100171 = alternate vertex); and structured heptagonal anti-prism numbers (Cf. A100185 = structured anti-prisms).
If Y is a 2-subset of a 2n-set X then, for n>=2, a(n-1) is the number of 4-subsets of X intersecting Y. - Milan Janjic, Nov 18 2007
Let M(2n-1) be a (2n-1)x(2n-1) matrix whose (i,j)-entry equals i^2/(i^2+sqrt(-1)) if i=j and equals 1 otherwise. Then a(n) equals (-1)^(n+1) times the real part of prod(k^2+sqrt(-1),k=1...2n-1) times the determinant of M(2n-1). - John M. Campbell, Sep 07 2011
Principal diagonal of the convolution array A213752. - Clark Kimberling, Jun 20 2012
The Fuss-Catalan numbers are Cat(d,k)= [1/(k*(d-1)+1)]*binomial(k*d,k) and enumerate the number of (d+1)-gon partitions of a (k*(d-1)+2)-gon (cf. Whieldon and Schuetz link). a(n)= Cat(n,4), so enumerates the number of (n+1)-gon partitions of a (4*(n-1)+2)-gon. Analogous series are A000326 (k=3) and A234043 (k=5). Also, a(n)= A006918(4n+1) = A008610(4n+1) = A053307(4n+1) with offset=0. - Tom Copeland, Oct 05 2014

Examples

			For n=4, sum( (4+i)^2, i=-3..3 ) = (4-3)^2+(4-2)^2+(4-1)^2+(4-0)^2+(4+1)^2+(4+2)^2+(4+3)^2 = 140 = a(4). - _Bruno Berselli_, Jul 24 2014
		

References

  • Jolley, Summation of Series, Dover (1961).

Crossrefs

Cf. A005915 = alternate vertex; A100145 for more on structured polyhedral numbers.

Programs

  • Magma
    [(1/6)*(16*n^3-12*n^2+2*n): n in [1..40]]; // Vincenzo Librandi, Jul 19 2011
    
  • Maple
    with(combstruct):ZL:=[st, {st=Prod(left, right), left=Set(U, card=r), right=Set(U, card=r), U=Sequence(Z, card>=1)}, unlabeled]: subs(r=1, stack): seq(count(subs(r=2, ZL), size=m*4), m=1..32) ; # Zerinvary Lajos, Jan 02 2008
  • PARI
    a(n)=(16*n^3-12*n^2+2*n)/6 \\ Charles R Greathouse IV, Sep 24 2015

Formula

a(n) = (16*n^3 - 12*n^2 + 2*n)/6.
a(n) = n*(2*n-1)*(4*n-1)/3 = A000330(2*n-1). - Reinhard Zumkeller, Jul 06 2009
Sum_{n>=1} 1/(24*a(n)) = Pi/8-log(2)/2 = 0.046125491418751... [Jolley eq. 251]
G.f.: x*(1+10*x+5*x^2)/(x-1)^4. - R. J. Mathar, Oct 03 2011
a(n) = binomial(2*n+1,3) + binomial(2*n,3). - John Molokach, Jul 10 2013
a(n) = Sum_{i=-(n-1)..(n-1)} (n+i)^2. - Bruno Berselli, Jul 24 2014
From Elmo R. Oliveira, Aug 04 2025: (Start)
E.g.f.: exp(x)*x*(8*x^2 + 18*x + 3)/3.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) for n > 4. (End)

A260260 a(n) = n*(16*n^2 - 21*n + 7)/2.

Original entry on oeis.org

0, 1, 29, 132, 358, 755, 1371, 2254, 3452, 5013, 6985, 9416, 12354, 15847, 19943, 24690, 30136, 36329, 43317, 51148, 59870, 69531, 80179, 91862, 104628, 118525, 133601, 149904, 167482, 186383, 206655, 228346, 251504, 276177, 302413, 330260, 359766, 390979
Offset: 0

Author

Bruno Berselli, Jul 21 2015

Keywords

Comments

Similar sequences, where P(s, m) = ((s-2)*m^2-(s-4)*m)/2 is the m-th s-gonal number:
A000578: P(3, m)*P( 3, m) - P(3, m-1)*P( 3, m-1);
A213772: P(3, m)*P( 4, m) - P(3, m-1)*P( 4, m-1) for m>0;
A005915: P(3, m)*P( 5, m) - P(3, m-1)*P( 5, m-1) " ;
A130748: P(3, m)*P( 6, m) - P(3, m-1)*P( 6, m-1) for m>1;
A027849: P(3, m)*P( 7, m) - P(3, m-1)*P( 7, m-1) for m>0;
A214092: P(3, m)*P( 8, m) - P(3, m-1)*P( 8, m-1) " ;
A100162: P(3, m)*P( 9, m) - P(3, m-1)*P( 9, m-1) " ;
A260260: P(3, m)*P(10, m) - P(3, m-1)*P(10, m-1), this sequence;
A100165: P(3, m)*P(11, m) - P(3, m-1)*P(11, m-1) for m>0.

Crossrefs

Subsequence of A047275.
Sequences of the same type (see comment): A000578, A005915, A027849, A100162, A100165, A130748, A213772, A214092.

Programs

  • Magma
    [n*(16*n^2-21*n+7)/2: n in [0..40]];
  • Mathematica
    Table[n (16 n^2 - 21 n + 7)/2, {n, 0, 40}]
    LinearRecurrence[{4,-6,4,-1},{0,1,29,132},40] (* Harvey P. Dale, May 08 2025 *)
  • PARI
    vector(40, n, n--; n*(16*n^2-21*n+7)/2)
    
  • Sage
    [n*(16*n^2-21*n+7)/2 for n in (0..40)]
    

Formula

G.f.: x*(1 + 25*x + 22*x^2)/(1 - x)^4. [corrected by Georg Fischer, May 10 2019]
a(n) = A000217(n)*A001107(n) - A000217(n-1)*A001107(n-1), with A000217(-1) = 0.
a(n) = A000292(n) + 25*A000292(n-1) + 22*A000292(n-2), with A000292(-2) = A000292(-1) = 0.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) for n >= 4. - Wesley Ivan Hurt, Dec 18 2020
E.g.f.: exp(x)*x*(2 + 27*x + 16*x^2)/2. - Elmo R. Oliveira, Aug 08 2025

A051673 Cubic star numbers: a(n) = n^3 + 4*Sum_{i=0..n-1} i^2.

Original entry on oeis.org

0, 1, 12, 47, 120, 245, 436, 707, 1072, 1545, 2140, 2871, 3752, 4797, 6020, 7435, 9056, 10897, 12972, 15295, 17880, 20741, 23892, 27347, 31120, 35225, 39676, 44487, 49672, 55245, 61220, 67611, 74432, 81697, 89420, 97615, 106296, 115477, 125172
Offset: 0

Author

Klaus Strassburger (strass(AT)ddfi.uni-duesseldorf.de)

Keywords

Comments

Also as a(n) = (1/6)*(14*n^3 - 12*n^2 + 4*n), n>0: structured cubeoctahedral numbers (vertex structure 7); and structured pentagonal anti-diamond numbers (vertex structure 7) (cf. A004466 = alternate vertex) (cf. A100188 = structured anti-diamonds). Cf. A100145 for more on structured polyhedral numbers. - James A. Record (james.record(AT)gmail.com), Nov 07 2004
Starting with offset 1 = binomial transform of [1, 11, 24, 14, 0, 0, 0, ...]. - Gary W. Adamson, Aug 05 2009
This is prime for a(3) = 47. The subsequence of semiprimes begins: 707, 7435, 10897, 20741, 115477, 341797, 825091, 897097, no more through a(100). - Jonathan Vos Post, May 27 2010

Examples

			a(51) = 51*(51*(7*51-6)+2)/3 = 304351 = 17 * 17903 is semiprime. - _Jonathan Vos Post_, May 27 2010
		

References

  • T. A. Gulliver, Sequences from Arrays of Integers, Int. Math. Journal, Vol. 1, No. 4, pp. 323-332, 2002.

Programs

Formula

a(n) = n*(n*(7*n-6) + 2)/3.
G.f.: x*(1+8*x+5*x^2)/(1-x)^4. - Bruno Berselli, May 12 2011
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4); a(0)=0, a(1)=1, a(2)=12, a(3)=47. - Harvey P. Dale, Jul 22 2011
From Reinhard Zumkeller, Jul 25 2012: (Start)
a(n) = A214659(n) - A002378(n).
a(n) = Sum_{k=1..n} A214661(n, k), for n > 0 (row sums). (End)
E.g.f.: (x/3)*(3 + 15*x + 7*x^2)*exp(x). - G. C. Greubel, Mar 10 2024

Extensions

Corrected by T. D. Noe, Nov 01 2006, Nov 08 2006

A213828 Rectangular array: (row n) = b**c, where b(h) = 3*h-2, c(h) = 3*n-4+3*h, n>=1, h>=1, and ** = convolution.

Original entry on oeis.org

2, 13, 5, 42, 28, 8, 98, 78, 43, 11, 190, 164, 114, 58, 14, 327, 295, 230, 150, 73, 17, 518, 480, 400, 296, 186, 88, 20, 772, 728, 633, 505, 362, 222, 103, 23, 1098, 1048, 938, 786, 610, 428, 258, 118, 26, 1505, 1449, 1324
Offset: 1

Author

Clark Kimberling, Jul 04 2012

Keywords

Comments

Principal diagonal: A213829.
Antidiagonal sums: A213830.
Row 1, (1,4,7,10,...)**(2,5,8,11,...): (3*k^2 + k)/2.
Row 2, (1,4,7,10,...)**(5,8,11,14,...): (3*k^3 + 9*k^2 + 4*k)/2.
Row 3, (1,4,7,10,...)**(8,11,14,17,...): (3*k^3 + 18*k^2 + 7*k)/2.
For a guide to related arrays, see A212500.

Examples

			Northwest corner (the array is read by falling antidiagonals):
2....13...42....98....190
5....28...78....164...295
8....43...114...230...400
11...58...150...296...505
14...73...186...362...610
17...88...222...428...715
		

Crossrefs

Programs

  • Mathematica
    b[n_]:=3n-2;c[n_]:=3n-1;
    t[n_,k_]:=Sum[b[k-i]c[n+i],{i,0,k-1}]
    TableForm[Table[t[n,k],{n,1,10},{k,1,10}]]
    Flatten[Table[t[n-k+1,k],{n,12},{k,n,1,-1}]]
    r[n_]:=Table[t[n,k],{k,1,60}] (* A213828 *)
    d=Table[t[n,n],{n,1,40}] (* A213829 *)
    d/2 (* A005915 *)
    s[n_]:=Sum[t[i,n+1-i],{i,1,n}]
    Table[s[n],{n,1,50}] (* A213830 *)

Formula

T(n,k) = 4*T(n,k-1)-6*T(n,k-2)+4*T(n,k-3)-T(n,k-4).
G.f. for row n: f(x)/g(x), where f(x) = x*((6*n-4) - (3*n-8)*x - (3*n-5)*x^2) and g(x) = (1-x)^4.

A256141 Square array read by antidiagonals upwards: T(n,k), n>=0, k>=0, in which row n lists the partial sums of the n-th row of the square array of A256140.

Original entry on oeis.org

1, 1, 1, 1, 2, 1, 1, 3, 3, 1, 1, 4, 5, 4, 1, 1, 5, 7, 9, 5, 1, 1, 6, 9, 16, 11, 6, 1, 1, 7, 11, 25, 19, 15, 7, 1, 1, 8, 13, 36, 29, 28, 19, 8, 1, 1, 9, 15, 49, 41, 45, 37, 27, 9, 1, 1, 10, 17, 64, 55, 66, 61, 64, 29, 10, 1, 1, 11, 19, 81, 71, 91, 91, 125, 67, 33, 11, 1, 1, 12, 21, 100, 89, 120, 127, 216, 129, 76, 37, 12, 1
Offset: 0

Author

Omar E. Pol, Mar 16 2015

Keywords

Comments

Questions:
Is also A130667 a row of this square array?
Is also A116522 a row of this square array?
Is also A116526 a row of this square array?
Is also A116525 a row of this square array?
Is also A116524 a row of this square array?

Examples

			The corner of the square array with the first 15 terms of the first 12 rows looks like this:
--------------------------------------------------------------------------
A000012: 1, 1, 1,  1,  1,  1,  1,   1,   1,   1,   1,   1,   1,   1,   1
A000027: 1, 2, 3,  4,  5,  6,  7,   8,   9,  10,  11,  12,  13,  14,  15
A006046: 1, 3, 5,  9, 11, 15, 19,  27,  29,  33,  37,  45,  49,  57,  65
A130665: 1, 4, 7, 16, 19, 28, 37,  64,  67,  76,  85, 112, 121, 148, 175
A116520: 1, 5, 9, 25, 29, 45, 61, 125, 129, 145, 161, 225, 241, 305, 369
A130667? 1, 6,11, 36, 41, 66, 91, 216, 221, 246, 271, 396, 421, 546, 671
A116522? 1, 7,13, 49, 55, 91,127, 343, 349, 385, 421, 637, 673, 889,1105
A161342: 1, 8,15, 64, 71,120,169, 512, 519, 568, 617, 960,1009,1352,1695
A116526? 1, 9,17, 81, 89,153,217, 729, 737, 801, 865,1377,1441,1953,2465
.......: 1,10,19,100,109,190,271,1000,1009,1090,1171,1900,1981,2710,3439
A116525? 1,11,21,121,131,231,331,1331,1341,1441,1541,2541,2641,3641,4641
.......: 1,12,23,144,155,276,397,1728,1739,1860,1981,3312,3422,4764,6095
		

Crossrefs

First five rows are A000012, A000027, A006046, A130665, A116520. Row 7 is A161342.
First eight columns are A000012, A000027, A005408, A000290, A028387, A000384, A003215, A000578. Column 9 is A081437. Column 11 is A015237. Columns 13-15 are A005915, A005917, A000583.

A100174 Structured tetrakis hexahedral numbers (vertex structure 5).

Original entry on oeis.org

1, 14, 59, 156, 325, 586, 959, 1464, 2121, 2950, 3971, 5204, 6669, 8386, 10375, 12656, 15249, 18174, 21451, 25100, 29141, 33594, 38479, 43816, 49625, 55926, 62739, 70084, 77981, 86450, 95511, 105184, 115489, 126446, 138075, 150396, 163429, 177194, 191711, 207000
Offset: 1

Author

James A. Record (james.record(AT)gmail.com), Nov 07 2004

Keywords

Crossrefs

Cf. A005915 = alternate vertex; cf. A100145 for more on structured numbers.

Programs

  • Magma
    [(1/6)*(20*n^3-24*n^2+10*n): n in [1..50] ]; // Vincenzo Librandi, Aug 02 2011

Formula

a(n) = (1/6)*(20*n^3 - 24*n^2 + 10*n).
G.f.: x*(1+x)*(1+9*x)/(1-x)^4. - Colin Barker, May 29 2012
From Elmo R. Oliveira, Aug 04 2025: (Start)
E.g.f.: exp(x)*x*(10*x^2 + 18*x + 3)/3.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) for n > 4. (End)

Extensions

Formula corrected by Helena Verrill (verrill(AT)math.lsu.edu), Mar 23 2007

A100189 Equatorial structured meta-anti-diamond numbers, the n-th number from an equatorial structured n-gonal anti-diamond number sequence.

Original entry on oeis.org

1, 6, 27, 92, 245, 546, 1071, 1912, 3177, 4990, 7491, 10836, 15197, 20762, 27735, 36336, 46801, 59382, 74347, 91980, 112581, 136466, 163967, 195432, 231225, 271726, 317331, 368452, 425517, 488970, 559271, 636896
Offset: 1

Author

James A. Record (james.record(AT)gmail.com), Nov 07 2004

Keywords

Examples

			There are no 1- or 2-gonal anti-diamonds, so 1 and (2n+2) are used as the first and second terms since all the sequences begin as such.
		

Crossrefs

Cf. A000578, A096000, A051673, A005915, A100186, A100187 - "equatorial" structured anti-diamonds; A100188 - "polar" structured meta-anti-diamond numbers; A006484 for other structured meta numbers; and A100145 for more on structured numbers.

Programs

  • Magma
    [(1/6)*(4*n^4-12*n^3+20*n^2-6*n): n in [1..40]]; // Vincenzo Librandi, Aug 18 2011
  • Mathematica
    Table[(4n^4-12n^3+20n^2-6n)/6,{n,40}] (* or *) LinearRecurrence[ {5,-10,10,-5,1},{1,6,27,92,245},40] (* Harvey P. Dale, Jul 05 2011 *)

Formula

a(n) = (1/6)*(4*n^4-12*n^3+20*n^2-6*n).
a(1)=1, a(2)=6, a(3)=27, a(4)=92, a(5)=245, a(n)=5*a(n-1)-10*a(n-2)+ 10*a(n-3)-5*a(n-4)+a(n-5). - Harvey P. Dale, Jul 05 2011
G.f.: x*(1+x)*(1+7*x^2)/(1-x)^5. - Colin Barker, Jan 19 2012
Showing 1-10 of 15 results. Next