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 14 results. Next

A022264 a(n) = n*(7*n - 1)/2.

Original entry on oeis.org

0, 3, 13, 30, 54, 85, 123, 168, 220, 279, 345, 418, 498, 585, 679, 780, 888, 1003, 1125, 1254, 1390, 1533, 1683, 1840, 2004, 2175, 2353, 2538, 2730, 2929, 3135, 3348, 3568, 3795, 4029, 4270, 4518, 4773, 5035, 5304, 5580, 5863, 6153, 6450, 6754, 7065, 7383
Offset: 0

Views

Author

Keywords

Comments

Sequence found by reading the line from 0, in the direction 0, 13, ..., and the parallel line from 3, in the direction 3, 30, ..., in the square spiral whose edges have length A195019 and whose vertices are the numbers A195020. - Omar E. Pol, Sep 09 2011

Crossrefs

Cf. sequences listed in A254963.
Cf. similar sequences listed in A022288.

Programs

Formula

a(n) = C(7*n,2)/7, n >= 0. - Zerinvary Lajos, Jan 02 2007
a(n) = A049450(n) + A000217(n). - Reinhard Zumkeller, Oct 09 2008
a(n) = 7*n + a(n-1) - 4 for n > 0, a(0)=0. - Vincenzo Librandi, Aug 04 2010
a(n) = (2*n)^2 - n*(n+1)/2 = A016742(n) - A000217(n). - Philippe Deléham, Mar 08 2013
a(n) = A174738(7*n+2). - Philippe Deléham, Mar 26 2013
G.f.: x*(3 + 4*x)/(1 - x)^3. - R. J. Mathar, Aug 04 2016
a(n) = A000217(4*n-1) - A000217(3*n-1). - Bruno Berselli, Oct 17 2016
a(n) = (1/5) * Sum_{i=n..(6*n-1)} i. - Wesley Ivan Hurt, Dec 04 2016
E.g.f.: (1/2)*x*(7*x + 6)*exp(x). - G. C. Greubel, Aug 19 2017
a(n) = A005449(n) + A000384(n). See Crysta-gons illustration. - Leo Tavares, Nov 21 2021

A024966 7 times triangular numbers: 7*n*(n+1)/2.

Original entry on oeis.org

0, 7, 21, 42, 70, 105, 147, 196, 252, 315, 385, 462, 546, 637, 735, 840, 952, 1071, 1197, 1330, 1470, 1617, 1771, 1932, 2100, 2275, 2457, 2646, 2842, 3045, 3255, 3472, 3696, 3927, 4165, 4410, 4662, 4921, 5187, 5460, 5740, 6027, 6321, 6622
Offset: 0

Views

Author

Joe Keane (jgk(AT)jgk.org), Dec 11 1999

Keywords

Comments

Sequence found by reading the line from 0, in the direction 0, 7, ... and the same line from 0, in the direction 1, 21, ..., in the square spiral whose edges have length A195019 and whose vertices are the numbers A195020. This is the main diagonal in the spiral. - Omar E. Pol, Sep 09 2011
Also sequence found by reading the same line mentioned above in the square spiral whose vertices are the generalized enneagonal numbers A118277. Axis perpendicular to A195145 in the same spiral. - Omar E. Pol, Sep 18 2011
Sequence provides all integers m such that 56*m + 49 is a square. - Bruno Berselli, Oct 07 2015
Sum of the numbers from 3*n to 4*n. - Wesley Ivan Hurt, Dec 22 2015

Crossrefs

Programs

  • Magma
    [ (7*n^2 + 7*n)/2 : n in [0..50] ]; // Wesley Ivan Hurt, Jun 09 2014
    
  • Maple
    [seq(7*binomial(n,2), n=1..44)]; # Zerinvary Lajos, Nov 24 2006
  • Mathematica
    7 Table[n (n + 1)/2, {n, 0, 43}] (* or *)
    Table[Sum[i, {i, 3 n, 4 n}], {n, 0, 43}] (* or *)
    Table[SeriesCoefficient[7 x/(1 - x)^3, {x, 0, n}], {n, 0, 43}] (* Michael De Vlieger, Dec 22 2015 *)
    7*Accumulate[Range[0,50]] (* or *) LinearRecurrence[{3,-3,1},{0,7,21},50] (* Harvey P. Dale, Jul 20 2025 *)
  • PARI
    x='x+O('x^100); concat(0, Vec(7*x/(1-x)^3)) \\ Altug Alkan, Dec 23 2015

Formula

a(n) = (7/2)*n*(n+1).
G.f.: 7*x/(1-x)^3.
a(n) = (7*n^2 + 7*n)/2 = 7*A000217(n). - Omar E. Pol, Dec 12 2008
a(n) = a(n-1) + 7*n with n > 0, a(0)=0. - Vincenzo Librandi, Nov 19 2010
a(n) = A069099(n+1) - 1. - Omar E. Pol, Oct 03 2011
a(n) = a(-n-1), a(n+2) = A193053(n+2) + 2*A193053(n+1) + A193053(n). - Bruno Berselli, Oct 21 2011
From Philippe Deléham, Mar 26 2013: (Start)
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) with a(0) = 0, a(1) = 7, a(2) = 21.
a(n) = A174738(7*n+6).
a(n) = A179986(n) + n = A186029(n) + 2*n = A022265(n) + 3*n = A022264(n) + 4*n = A218471(n) + 5*n = A001106(n) + 6*n. (End)
a(n) = Sum_{i=3*n..4*n} i. - Wesley Ivan Hurt, Dec 22 2015
E.g.f.: (7/2)*x*(x+2)*exp(x). - G. C. Greubel, Aug 19 2017
From Amiram Eldar, Feb 25 2022: (Start)
Sum_{n>=1} 1/a(n) = 2/7.
Sum_{n>=1} (-1)^(n+1)/a(n) = (2/7)*(2*log(2) - 1). (End)
From Amiram Eldar, Feb 21 2023: (Start)
Product_{n>=1} (1 - 1/a(n)) = -(7/(2*Pi))*cos(sqrt(15/7)*Pi/2).
Product_{n>=1} (1 + 1/a(n)) = (7/(2*Pi))*cosh(Pi/(2*sqrt(7))). (End)

A179986 Second 9-gonal (or nonagonal) numbers: a(n) = n*(7*n+5)/2.

Original entry on oeis.org

0, 6, 19, 39, 66, 100, 141, 189, 244, 306, 375, 451, 534, 624, 721, 825, 936, 1054, 1179, 1311, 1450, 1596, 1749, 1909, 2076, 2250, 2431, 2619, 2814, 3016, 3225, 3441, 3664, 3894, 4131, 4375, 4626, 4884, 5149, 5421, 5700, 5986, 6279, 6579, 6886
Offset: 0

Views

Author

Bruno Berselli, Jan 13 2011

Keywords

Comments

This sequence is a bisection of A118277 (even part).
Sequence found by reading the line from 0, in the direction 0, 19... and the line from 6, in the direction 6, 39,..., in the square spiral whose vertices are the generalized 9-gonal numbers A118277. - Omar E. Pol, Jul 24 2012
The early part of this sequence is a strikingly close approximation to the early part of A100752. - Peter Munn, Nov 14 2019

Crossrefs

Cf. second k-gonal numbers: A005449 (k=5), A014105 (k=6), A147875 (k=7), A045944 (k=8), this sequence (k=9), A033954 (k=10), A062728 (k=11), A135705 (k=12).

Programs

Formula

G.f.: x*(6 + x)/(1 - x)^3.
a(n) = Sum_{i=0..(n-1)} A017053(i) for n>0.
a(-n) = A001106(n).
Sum_{i=0..n} (a(n)+i)^2 = ( Sum_{i=(n+1)..2*n} (a(n)+i)^2 ) + 21*A000217(n)^2 for n>0.
a(n) = a(n-1)+7*n-1 for n>0, with a(0)=0. - Vincenzo Librandi, Feb 05 2011
a(0)=0, a(1)=6, a(2)=19; for n>2, a(n) = 3*a(n-1)-3*a(n-2)+a(n-3). - Harvey P. Dale, Aug 19 2011
a(n) = A174738(7n+5). - Philippe Deléham, Mar 26 2013
a(n) = A001477(n) + 2*A000290(n) + 3*A000217(n). - J. M. Bergot, Apr 25 2014
a(n) = A055998(4*n) - A055998(3*n). - Bruno Berselli, Sep 23 2016
E.g.f.: (x/2)*(12 + 7*x)*exp(x). - G. C. Greubel, Aug 19 2017

A174738 Partial sums of floor(n/7).

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 13, 15, 17, 19, 21, 24, 27, 30, 33, 36, 39, 42, 46, 50, 54, 58, 62, 66, 70, 75, 80, 85, 90, 95, 100, 105, 111, 117, 123, 129, 135, 141, 147, 154, 161, 168, 175, 182, 189, 196, 204, 212, 220, 228, 236
Offset: 0

Views

Author

Mircea Merca, Nov 30 2010

Keywords

Comments

Apart from the initial zeros, the same as A011867.

Examples

			a(9) = floor(0/7) + floor(1/7) + floor(2/7) + floor(3/7) + floor(4/7) + floor(5/7) + floor(6/7) + floor(7/7) + floor(8/7) + floor(9/7) = 3.
		

Crossrefs

Programs

Formula

a(n) = round(n*(n-5)/14).
a(n) = floor((n-2)*(n-3)/14).
a(n) = ceiling((n+1)*(n-6)/14).
a(n) = a(n-7) + n - 6, n > 6.
a(n) = +2*a(n-1) - a(n-2) + a(n-7) - 2*a(n-8) + a(n-9). - R. J. Mathar, Nov 30 2010
G.f.: x^7/( (1 + x + x^2 + x^3 + x^4 + x^5 + x^6)*(1-x)^3 ). - R. J. Mathar, Nov 30 2010
a(7n) = A001106(n), a(7n+1) = A218471(n), a(7n+2) = A022264(n), a(7n+3) = A022265(n), a(7n+4) = A186029(n), a(7n+5) = A179986(n), a(7n+6) = A024966(n). - Philippe Deléham, Mar 26 2013

A022289 a(n) = n*(31*n + 1)/2.

Original entry on oeis.org

0, 16, 63, 141, 250, 390, 561, 763, 996, 1260, 1555, 1881, 2238, 2626, 3045, 3495, 3976, 4488, 5031, 5605, 6210, 6846, 7513, 8211, 8940, 9700, 10491, 11313, 12166, 13050, 13965, 14911, 15888, 16896, 17935
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. similar sequences of the form n*((2*k+1)*n + 1)/2: A000217 (k=0), A005449 (k=1), A005475 (k=2), A022265 (k=3), A022267 (k=4), A022269 (k=5), A022271 (k=6), A022273 (k=7), A022275 (k=8), A022277 (k=9), A022279 (k=10), A022281 (k=11), A022283 (k=12), A022285 (k=13), A022287 (k=14), this sequence (k=15).

Programs

Formula

a(n) = 31*n + a(n-1) - 15, for n>0, a(0)=0. - Vincenzo Librandi, Aug 04 2010
G.f.: x*(16 + 15*x)/(1 - x)^3 . - R. J. Mathar, Sep 02 2016
a(n) = A000217(16*n) - A000217(15*n). In general, n*((2*k+1)*n + 1)/2 = A000217((k+1)*n) - A000217(k*n). - Bruno Berselli, Oct 13 2016
E.g.f.: (x/2)*(31*x + 32)*exp(x). - G. C. Greubel, Aug 23 2017

A186029 a(n) = n*(7*n+3)/2.

Original entry on oeis.org

0, 5, 17, 36, 62, 95, 135, 182, 236, 297, 365, 440, 522, 611, 707, 810, 920, 1037, 1161, 1292, 1430, 1575, 1727, 1886, 2052, 2225, 2405, 2592, 2786, 2987, 3195, 3410, 3632, 3861, 4097, 4340, 4590, 4847, 5111, 5382, 5660, 5945, 6237, 6536, 6842, 7155, 7475
Offset: 0

Views

Author

Bruno Berselli, Feb 11 2011

Keywords

Comments

This sequence is related to A050409 by A050409(n) = n*a(n) - Sum_{i=0..n-1} a(i).

Examples

			From _Ilya Gutkovskiy_, Mar 31 2016: (Start)
.                                           o o o o o o o o o o o o
.                                           o                     o
.         o o o o o o   o  o o o o o o  o   o  o  o o o o o o  o  o
.         o         o   o  o         o  o   o  o  o         o  o  o
. o   o   o  o   o  o   o  o  o   o  o  o   o  o  o  o   o  o  o  o
. o o o   o  o o o  o   o  o  o o o  o  o   o  o  o  o o o  o  o  o
.                       o               o   o  o               o  o
.                       o o o o o o o o o   o  o o o o o o o o o  o
.
.  n=1        n=2              n=3                    n=4
(End)
		

Crossrefs

Cf. numbers of the form n*(d*n+10-d)/2 indexed in A140090.
Cf. A017041 (first differences).

Programs

Formula

G.f.: x*(5+2*x)/(1-x)^3.
a(n) - a(-n) = A008585(n).
a(n) + a(-n) = A033582(n).
n*a(n+1) - (n+1)*a(n) = A024966(n). - Bruno Berselli, May 30 2012
n*a(n+2) - (n+2)*a(n) = A067727(n) for n>0. - Bruno Berselli, May 30 2012
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n>2, a(0)=0, a(1)=5, a(2)=17. - Philippe Deléham, Mar 26 2013
a(n) = A174738(7*n+4). - Philippe Deléham, Mar 26 2013
E.g.f.: (1/2)*(7*x^2 + 10*x)*exp(x). - G. C. Greubel, Jul 17 2017

A110449 Triangle read by rows: T(n,k) = n*((2*k+1)*n+1)/2, 0<=k<=n.

Original entry on oeis.org

0, 1, 2, 3, 7, 11, 6, 15, 24, 33, 10, 26, 42, 58, 74, 15, 40, 65, 90, 115, 140, 21, 57, 93, 129, 165, 201, 237, 28, 77, 126, 175, 224, 273, 322, 371, 36, 100, 164, 228, 292, 356, 420, 484, 548, 45, 126, 207, 288, 369, 450, 531, 612, 693, 774, 55, 155, 255, 355, 455, 555, 655, 755, 855, 955, 1055
Offset: 0

Views

Author

Reinhard Zumkeller, Jul 21 2005

Keywords

Comments

Row sums give A110450; central terms give A110451;
T(n,0) = A000217(n);
T(n,1) = A005449(n) for n>0;
T(n,2) = A005475(n) for n>1;
T(n,3) = A022265(n) for n>2;
T(n,4) = A022267(n) for n>3;
T(n,5) = A022269(n) for n>4;
T(n,6) = A022271(n) for n>5;
T(n,7) = A022263(n) for n>6;
T(n+1,n-1) = A059270(n) for n>1;
T(n,n-1) = A081436(n) for n>1;
T(n,n) = A085786(n).

Examples

			Triangle starts:
0;
1, 2;
3, 7, 11;
6, 15, 24, 33;
10, 26, 42, 58, 74;
...
		

Crossrefs

Cf. A126890.

Programs

  • Mathematica
    Table[n*((2*k + 1)*n + 1)/2, {n, 0, 10}, {k, 0, n}] // Flatten (* G. C. Greubel, Aug 23 2017 *)
  • PARI
    tabl(nn) = {for (n=0, nn, for (k=0, n, print1(n*((2*k+1)*n+1)/2, ", ");); print(););} \\ Michel Marcus, Jun 22 2015

Formula

T(n,k) = n*((2*k + 1)*n + 1)/2, 0 <= k <= n.

A218471 a(n) = n*(7*n-3)/2.

Original entry on oeis.org

0, 2, 11, 27, 50, 80, 117, 161, 212, 270, 335, 407, 486, 572, 665, 765, 872, 986, 1107, 1235, 1370, 1512, 1661, 1817, 1980, 2150, 2327, 2511, 2702, 2900, 3105, 3317, 3536, 3762, 3995, 4235, 4482, 4736, 4997, 5265, 5540, 5822, 6111, 6407, 6710, 7020, 7337
Offset: 0

Views

Author

Philippe Deléham, Mar 26 2013

Keywords

Crossrefs

Cf. numbers of the form n*(n*k-k+4)/2 listed in A226488 (this sequence is the case k=7). - Bruno Berselli, Jun 10 2013

Programs

Formula

G.f.: x*(2+5*x)/(1-x)^3.
a(n) = 3*a(n-1) -3*a(n-2) +a(n-3) with a(0)=0, a(1)=2, a(2)=11.
a(n) = A001106(n) + n.
a(n) = A022264(n) - n.
a(n) = A022265(n) - 2*n.
a(n) = A186029(n) - 3*n.
a(n) = A179986(n) - 4*n.
a(n) = A024966(n) - 5*n.
a(n) = A174738(7*n+1).
E.g.f.: (x/2)*(7*x + 4)*exp(x). - G. C. Greubel, Aug 23 2017

A241016 Triangle read by rows: T(n, k) = sum of k-th row of n X n square filled with the numbers 1 through n^2 reading across rows left-to-right.

Original entry on oeis.org

1, 3, 7, 6, 15, 24, 10, 26, 42, 58, 15, 40, 65, 90, 115, 21, 57, 93, 129, 165, 201, 28, 77, 126, 175, 224, 273, 322, 36, 100, 164, 228, 292, 356, 420, 484, 45, 126, 207, 288, 369, 450, 531, 612, 693, 55, 155, 255, 355, 455, 555, 655, 755, 855, 955, 66, 187, 308, 429, 550
Offset: 1

Views

Author

Kival Ngaokrajang, Aug 08 2014

Keywords

Comments

See illustration in links.
The corresponding triangle with column sums is found in A251630. - Wolfdieter Lang, Dec 09 2014

Examples

			The triangle T(n, k) begins:
n\k  1   2   3   4   5   6   7   8   9  10 ...
1:   1
2:   3   7
3:   6  15  24
4:  10  26  42  58
5:  15  40  65  90 115
6:  21  57  93 129 165 201
7:  28  77 126 175 224 273 322
8:  36 100 164 228 292 356 420 484
9:  45 126 207 288 369 450 531 612 693
10: 55 155 255 355 455 555 655 755 855 955
... reformatted - _Wolfdieter Lang_, Dec 08 2014
		

Crossrefs

Diagonals: A081436, A059270, ...
Row sums: A037270.

Programs

  • Mathematica
    Table[Sum[n*(k - 1) + j, {j,1,n}], {n,1,10}, {k,1,n}] // Flatten (* G. C. Greubel, Aug 23 2017 *)
  • PARI
    trg(nn) = {for (n=1, nn, mm = matrix(n, n, i, j, j + n*(i-1)); for (i=1, n, print1(sum(j=1, n, mm[i, j]), ", ");); print(););} \\ Michel Marcus, Sep 15 2014

Formula

T(n, k) = Sum_{j=1..n} (n*(k-1)+ j), for n >= k >= 1. See the Michel Marcus program. - Wolfdieter Lang, Dec 08 2014
T(n, k) = binomial(n+1, 2) + n^2*(k-1). - Wolfdieter Lang, Dec 09 2014

Extensions

Edited. - Wolfdieter Lang, Dec 08 2014

A304993 a(n) = n*(n + 1)*(7*n + 5)/6.

Original entry on oeis.org

0, 4, 19, 52, 110, 200, 329, 504, 732, 1020, 1375, 1804, 2314, 2912, 3605, 4400, 5304, 6324, 7467, 8740, 10150, 11704, 13409, 15272, 17300, 19500, 21879, 24444, 27202, 30160, 33325, 36704, 40304, 44132, 48195, 52500, 57054, 61864, 66937, 72280, 77900, 83804, 89999, 96492
Offset: 0

Views

Author

Bruno Berselli, May 23 2018

Keywords

Comments

The sequence provides the sums of the triangular numbers from A000217(n) to A000217(2*n).

Crossrefs

Partial sums of A022265.
Cf. A045943: Sum_{k = n..2*n} k.
Cf. A050409: Sum_{k = n..2*n} k^2.
Row sums of the triangle in A141433.

Programs

  • Mathematica
    Table[n (n + 1) (7 n + 5)/6, {n, 0, 50}]
    LinearRecurrence[{4,-6,4,-1},{0,4,19,52},50] (* Harvey P. Dale, May 03 2023 *)
  • PARI
    concat(0, Vec(x*(4 + 3*x)/(1 - x)^4 + O(x^40))) \\ Colin Barker, May 25 2018

Formula

O.g.f.: x*(4 + 3*x)/(1 - x)^4.
E.g.f.: x*(24 + 33*x + 7*x^2)*exp(x)/6.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4).
a(n) = -A255211(-n-1).
a(n) + a(-n) = A016742(n).
a(n) = Sum_{k = n..2*n} k*(k+1)/2.
Showing 1-10 of 14 results. Next