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.

Previous Showing 21-30 of 76 results. Next

A139273 a(n) = n*(8*n - 3).

Original entry on oeis.org

0, 5, 26, 63, 116, 185, 270, 371, 488, 621, 770, 935, 1116, 1313, 1526, 1755, 2000, 2261, 2538, 2831, 3140, 3465, 3806, 4163, 4536, 4925, 5330, 5751, 6188, 6641, 7110, 7595, 8096, 8613, 9146, 9695, 10260, 10841, 11438, 12051, 12680
Offset: 0

Views

Author

Omar E. Pol, Apr 26 2008

Keywords

Comments

Sequence found by reading the line from 0, in the direction 0, 5, ..., in the square spiral whose vertices are the triangular numbers A000217. Opposite numbers to the members of A139277 in the same spiral.
Also, sequence of numbers of the form d*A000217(n-1) + 5*n with generating functions x*(5+(d-5)*x)/(1-x)^3; the inverse binomial transform is 0,5,d,0,0,.. (0 continued). See Crossrefs. - Bruno Berselli, Feb 11 2011
Even decagonal numbers divided by 2. - Omar E. Pol, Aug 19 2011

Crossrefs

Programs

  • Magma
    [ n*(8*n-3) : n in [0..40] ];  // Bruno Berselli, Feb 11 2011
    
  • Mathematica
    Table[n (8 n - 3), {n, 0, 40}] (* or *) LinearRecurrence[{3, -3, 1}, {0, 5, 26}, 40] (* Harvey P. Dale, Feb 02 2012 *)
  • PARI
    a(n)=n*(8*n-3) \\ Charles R Greathouse IV, Sep 24 2015

Formula

a(n) = 8*n^2 - 3*n.
Sequences of the form a(n) = 8*n^2 + c*n have generating functions x{c+8+(8-c)x} / (1-x)^3 and recurrence a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). The inverse binomial transform is 0, c+8, 16, 0, 0, ... (0 continued). This applies to A139271-A139278, positive or negative c. - R. J. Mathar, May 12 2008
a(n) = 16*n + a(n-1) - 11 for n>0, a(0)=0. - Vincenzo Librandi, Aug 03 2010
From Bruno Berselli, Feb 11 2011: (Start)
G.f.: x*(5 + 11*x)/(1 - x)^3.
a(n) = 4*A000217(n) + A051866(n). (End)
a(n) = A028994(n)/2. - Omar E. Pol, Aug 19 2011
a(0)=0, a(1)=5, a(2)=26; for n>2, a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - Harvey P. Dale, Feb 02 2012
E.g.f.: (8*x^2 + 5*x)*exp(x). - G. C. Greubel, Jul 18 2017
Sum_{n>=1} 1/a(n) = 4*log(2)/3 - (sqrt(2)-1)*Pi/6 - sqrt(2)*arccoth(sqrt(2))/3. - Amiram Eldar, Jul 03 2020

A047520 a(n) = 2*a(n-1) + n^2, a(0) = 0.

Original entry on oeis.org

0, 1, 6, 21, 58, 141, 318, 685, 1434, 2949, 5998, 12117, 24378, 48925, 98046, 196317, 392890, 786069, 1572462, 3145285, 6290970, 12582381, 25165246, 50331021, 100662618, 201325861, 402652398, 805305525, 1610611834, 3221224509
Offset: 0

Views

Author

Henry Bottomley, Jul 04 2000

Keywords

Comments

Convolution of squares (A000290) and powers of 2 (A000079). - Graeme McRae, Jun 07 2006
Antidiagonal sums of the convolution array A213568. - Clark Kimberling, Jun 18 2012
This is the partial sums of A050488. - J. M. Bergot, Oct 01 2012
From Peter Bala, Nov 29 2012: (Start)
This is the case m = 2 of the recurrence a(n) = m*a(n-1) + n^m, m = 1,2,..., with a(0) = 0.
The recurrence has the solution a(n) = m^n*Sum_{i=1..n} i^m/m^i and has the o.g.f. A(m,x)/((1-m*x)*(1-x)^(m+1)), where A(m,x) denotes the m-th Eulerian polynomial of A008292.
For other cases see A000217 (m = 1), A066999 (m = 3) and A067534 (m = 4).
(End)
Convolution of A000225 with A005408. - J. M. Bergot, Sep 19 2017

Crossrefs

Programs

  • GAP
    List([0..30], n-> 6*2^n -(n^2+4*n+6)); # G. C. Greubel, Jul 25 2019
  • Haskell
    a047520 n = sum $ zipWith (*)
                      (reverse $ take n $ tail a000290_list) a000079_list
    -- Reinhard Zumkeller, Nov 30 2012
    
  • Magma
    [ 6*2^n-n^2-4*n-6: n in [0..30]]; // Vincenzo Librandi, Aug 22 2011
    
  • Mathematica
    RecurrenceTable[{a[0]==0,a[n]==2a[n-1]+n^2},a[n],{n,30}] (* or *) LinearRecurrence[{5,-9,7,-2},{0,1,6,21},31] (* Harvey P. Dale, Aug 21 2011 *)
    f[n_]:= 2^n*Sum[i^2/2^i, {i, n}]; Array[f, 30] (* Robert G. Wilson v, Nov 28 2012 *)
  • PARI
    vector(30, n, n--; 6*2^n -(n^2+4*n+6)) \\ G. C. Greubel, Jul 25 2019
    
  • Sage
    [6*2^n -(n^2+4*n+6) for n in (0..30)] # G. C. Greubel, Jul 25 2019
    

Formula

a(n) = 6*2^n - n^2 - 4*n - 6 = 6*A000225(n) - A028347(n+2).
a(n) = 2^n*Sum_{i=1..n} i^2 / 2^i. - Benoit Cloitre, Jan 27 2002
a(0)=0, a(1)=1, a(2)=6, a(3)=21, a(n) = 5*a(n-1) - 9*a(n-2) + 7*a(n-3) - 2*a(n-4). - Harvey P. Dale, Aug 21 2011
G.f.: x*(1+x)/((1-x)^3*(1-2*x)). - Harvey P. Dale, Aug 21 2011
a(n) = Sum_{k=0..n-1} A000079(n-k) * A000290(k). - Reinhard Zumkeller, Nov 30 2012
E.g.f.: 6*exp(2*x) -(6 +5*x +x^2)*exp(x). - G. C. Greubel, Jul 25 2019

A132355 Numbers of the form 9*h^2 + 2*h, for h an integer.

Original entry on oeis.org

0, 7, 11, 32, 40, 75, 87, 136, 152, 215, 235, 312, 336, 427, 455, 560, 592, 711, 747, 880, 920, 1067, 1111, 1272, 1320, 1495, 1547, 1736, 1792, 1995, 2055, 2272, 2336, 2567, 2635, 2880, 2952, 3211, 3287, 3560, 3640, 3927, 4011, 4312, 4400, 4715, 4807
Offset: 1

Views

Author

Mohamed Bouhamida, Nov 08 2007

Keywords

Comments

X values of solutions to the equation 9*X^3 + X^2 = Y^2.
The set of all m such that 9*m + 1 is a perfect square. - Gary Detlefs, Feb 22 2010
The concatenation of any term with 11..11 (1 repeated an even number of times, see A099814) belongs to the list. Example: 87 is a term, so also 8711, 871111, 87111111, 871111111111, ... are terms of this sequence. - Bruno Berselli, May 15 2017

Crossrefs

A205808 is the characteristic function.
Numbers of the form 9*n^2+k*n, for integer n: A016766 (k=0), this sequence (k=2), A185039 (k=4), A057780 (k=6), A218864 (k=8). - Jason Kimberley, Nov 09 2012
For similar sequences of numbers m such that 9*m+k is a square, see list in A266956.

Programs

Formula

a(2*k) = k*(9*k-2), a(2*k+1) = k*(9*k+2).
a(n) = n^2 - n + 5*floor(n/2)^2. - Gary Detlefs, Feb 23 2010
From R. J. Mathar, Mar 17 2010: (Start)
a(n) = +a(n-1) +2*a(n-2) -2*a(n-3) -a(n-4) +a(n-5).
G.f.: x^2*(7 + 4*x + 7*x^2)/((1 + x)^2*(1 - x)^3). (End)
a(n) = (2*n - 1 + (-1)^n)*(9*(2*n - 1) + (-1)^n)/16. - Luce ETIENNE, Sep 13 2014
Sum_{n>=2} 1/a(n) = 9/4 - cot(2*Pi/9)*Pi/2. - Amiram Eldar, Mar 15 2022

Extensions

Simpler definition and minor edits from N. J. A. Sloane, Feb 03 2012
Since this is a list, offset changed to 1 and formulas translated by Jason Kimberley, Nov 18 2012

A132356 a(2*k) = k*(10*k+2), a(2*k+1) = 10*k^2 + 18*k + 8, with k >= 0.

Original entry on oeis.org

0, 8, 12, 36, 44, 84, 96, 152, 168, 240, 260, 348, 372, 476, 504, 624, 656, 792, 828, 980, 1020, 1188, 1232, 1416, 1464, 1664, 1716, 1932, 1988, 2220, 2280, 2528, 2592, 2856, 2924, 3204, 3276, 3572, 3648, 3960, 4040, 4368, 4452, 4796, 4884, 5244, 5336, 5712
Offset: 0

Views

Author

Mohamed Bouhamida, Nov 08 2007

Keywords

Comments

X values of solutions to the equation 10*X^3 + X^2 = Y^2.
Polygonal number connection: 2*H_n + 6S_n, where H_n is the n-th hexagonal number and S_n is the n-th square number. This is the base formula that is expanded upon to achieve the full series. See contributing formula below. - William A. Tedeschi, Sep 12 2010
Equivalently, numbers of the form 2*h*(5*h+1), where h = 0, -1, 1, -2, 2, -3, 3, -4, 4, ... . - Bruno Berselli, Feb 02 2017

Crossrefs

Cf. numbers m such that k*m+1 is a square: A005563 (k=1), A046092 (k=2), A001082 (k=3), A002378 (k=4), A036666 (k=5), A062717 (k=6), A132354 (k=7), A000217 (k=8), A132355 (k=9), A219257 (k=11), A152749 (k=12), A219389 (k=13), A219390 (k=14), A204221 (k=15), A074378 (k=16), A219394 (k=17), A219395 (k=18), A219396 (k=19), A219190 (k=20), A219391 (k=21), A219392 (k=22), A219393 (k=23), A001318 (k=24), A219259 (k=25), A217441 (k=26), A219258 (k=27), A219191 (k=28).
Cf. A220082 (numbers k such that 10*k-1 is a square).

Programs

  • Mathematica
    CoefficientList[Series[4*x*(2*x^2 + x + 2)/((1 - x)^3*(1 + x)^2), {x, 0, 50}], x] (* G. C. Greubel, Jun 12 2017 *)
    LinearRecurrence[{1,2,-2,-1,1},{0,8,12,36,44},50] (* Harvey P. Dale, Dec 15 2023 *)
  • PARI
    my(x='x+O('x^50)); concat([0], Vec(4*x*(2*x^2+x+2)/((1-x)^3*(1+x)^2))) \\ G. C. Greubel, Jun 12 2017
    
  • PARI
    a(n) = n^2 + n + 6*((n+1)\2)^2 \\ Charles R Greathouse IV, Sep 11 2022

Formula

G.f.: 4*x*(2*x^2+x+2)/((1-x)^3*(1+x)^2). - R. J. Mathar, Apr 07 2008
a(n) = 10*x^2 - 2*x, where x = floor(n/2)*(-1)^n for n >= 1. - William A. Tedeschi, Sep 12 2010
a(n) = ((2*n+1-(-1)^n)*(10*(2*n+1)-2*(-1)^n))/16. - Luce ETIENNE, Sep 13 2014
a(n) = a(n-1) + 2*a(n-2) - 2*a(n-3) - a(n-4) + a(n-5) for n > 4. - Chai Wah Wu, May 24 2016
Sum_{n>=1} 1/a(n) = 5/2 - sqrt(1+2/sqrt(5))*Pi/2. - Amiram Eldar, Mar 15 2022
a(n) = n^2 + n + 6*ceiling(n/2)^2. - Ridouane Oudra, Aug 06 2022

Extensions

More terms from Max Alekseyev, Nov 13 2009

A132762 a(n) = n*(n + 19).

Original entry on oeis.org

0, 20, 42, 66, 92, 120, 150, 182, 216, 252, 290, 330, 372, 416, 462, 510, 560, 612, 666, 722, 780, 840, 902, 966, 1032, 1100, 1170, 1242, 1316, 1392, 1470, 1550, 1632, 1716, 1802, 1890, 1980, 2072, 2166, 2262, 2360, 2460, 2562, 2666, 2772, 2880, 2990, 3102, 3216
Offset: 0

Views

Author

Omar E. Pol, Aug 28 2007

Keywords

Crossrefs

Programs

Formula

a(n) = 2*n + a(n-1) + 18 for n > 0, a(0) = 0. - Vincenzo Librandi, Aug 03 2010
From Chai Wah Wu, Dec 17 2016: (Start)
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 2.
G.f.: 2*x*(10 - 9*x)/(1-x)^3. (End)
a(n) = 2*A051942(n+9). - R. J. Mathar, Sep 05 2018
From Amiram Eldar, Jan 16 2021: (Start)
Sum_{n>=1} 1/a(n) = H(19)/19 = A001008(19)/A102928(19) = 275295799/1474352880, where H(k) is the k-th harmonic number.
Sum_{n>=1} (-1)^(n+1)/a(n) = 2*log(2)/19 - 33464927/884611728. (End)
E.g.f.: x*(20 + x)*exp(x). - G. C. Greubel, Mar 14 2022

A132764 a(n) = n*(n+22).

Original entry on oeis.org

0, 23, 48, 75, 104, 135, 168, 203, 240, 279, 320, 363, 408, 455, 504, 555, 608, 663, 720, 779, 840, 903, 968, 1035, 1104, 1175, 1248, 1323, 1400, 1479, 1560, 1643, 1728, 1815, 1904, 1995, 2088, 2183, 2280, 2379, 2480, 2583, 2688, 2795, 2904, 3015, 3128, 3243, 3360
Offset: 0

Views

Author

Omar E. Pol, Aug 28 2007

Keywords

Examples

			a(1)=2*1+0+21=23; a(2)=2*2+23+21=48; a(3)=2*3+48+21=75. - _Vincenzo Librandi_, Aug 03 2010
		

Crossrefs

Programs

Formula

a(n) = n*(n + 22).
a(n) = 2*n + a(n-1) + 21 (with a(0)=0). - Vincenzo Librandi, Aug 03 2010
a(0)=0, a(1)=23, a(2)=48, a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - Harvey P. Dale, May 02 2012
From Amiram Eldar, Jan 16 2021: (Start)
Sum_{n>=1} 1/a(n) = H(22)/22 = A001008(22)/A102928(22) = 19093197/113809696, where H(k) is the k-th harmonic number.
Sum_{n>=1} (-1)^(n+1)/a(n) = 156188887/5121436320. (End)
From G. C. Greubel, Mar 14 2022: (Start)
G.f.: x*(23 - 21*x)/(1-x)^3.
E.g.f.: x*(23 + x)*exp(x). (End)

A132763 a(n) = n*(n+21).

Original entry on oeis.org

0, 22, 46, 72, 100, 130, 162, 196, 232, 270, 310, 352, 396, 442, 490, 540, 592, 646, 702, 760, 820, 882, 946, 1012, 1080, 1150, 1222, 1296, 1372, 1450, 1530, 1612, 1696, 1782, 1870, 1960, 2052, 2146, 2242, 2340, 2440, 2542, 2646, 2752, 2860, 2970, 3082, 3196, 3312
Offset: 0

Views

Author

Omar E. Pol, Aug 28 2007

Keywords

Crossrefs

Programs

Formula

a(n) = n*(n + 21).
a(n) = 2*n + a(n-1) + 20 (with a(0)=0). - Vincenzo Librandi, Aug 03 2010
a(0)=0, a(1)=22, a(2)=46, a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - Harvey P. Dale, May 25 2014
From Amiram Eldar, Jan 16 2021: (Start)
Sum_{n>=1} 1/a(n) = H(21)/21 = A001008(21)/A102928(21) = 18858053/108636528, where H(k) is the k-th harmonic number.
Sum_{n>=1} (-1)^(n+1)/a(n) = 2*log(2)/21 - 166770367/4888643760. (End)
From Stefano Spezia, Jan 30 2021: (Start)
O.g.f.: 2*x*(11 - 10*x)/(1 - x)^3.
E.g.f.: x*(22 + x)*exp(x). (End)

A132766 a(n) = n*(n+24).

Original entry on oeis.org

0, 25, 52, 81, 112, 145, 180, 217, 256, 297, 340, 385, 432, 481, 532, 585, 640, 697, 756, 817, 880, 945, 1012, 1081, 1152, 1225, 1300, 1377, 1456, 1537, 1620, 1705, 1792, 1881, 1972, 2065, 2160, 2257, 2356, 2457, 2560, 2665, 2772, 2881, 2992, 3105, 3220, 3337
Offset: 0

Views

Author

Omar E. Pol, Aug 28 2007

Keywords

Crossrefs

Programs

  • Mathematica
    Table[n (n + 24), {n, 0, 50}] (* or *) LinearRecurrence[{3, -3, 1}, {0, 25, 52}, 50] (* Harvey P. Dale, Feb 11 2016 *)
  • PARI
    a(n)=n*(n+24) \\ Charles R Greathouse IV, Jun 17 2017
    
  • Sage
    [n*(n+24) for n in (0..50)] # G. C. Greubel, Mar 14 2022

Formula

a(n) = n*(n + 24).
a(n) = 2*n + a(n-1) + 23 (with a(0)=0). - Vincenzo Librandi, Aug 03 2010
a(0)=0, a(1)=25, a(2)=52; for n>2, a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - Harvey P. Dale, Feb 11 2016
From Amiram Eldar, Jan 16 2021: (Start)
Sum_{n>=1} 1/a(n) = H(24)/24 = A001008(24)/A102928(24) = 1347822955/8566766208, where H(k) is the k-th harmonic number.
Sum_{n>=1} (-1)^(n+1)/a(n) = 3602044091/128501493120. (End)
From G. C. Greubel, Mar 14 2022: (Start)
G.f.: 2*x*(13 - 12*x)/(1-x)^3.
E.g.f.: x*(26 + x)*exp(x). (End)

A132767 a(n) = n*(n + 25).

Original entry on oeis.org

0, 26, 54, 84, 116, 150, 186, 224, 264, 306, 350, 396, 444, 494, 546, 600, 656, 714, 774, 836, 900, 966, 1034, 1104, 1176, 1250, 1326, 1404, 1484, 1566, 1650, 1736, 1824, 1914, 2006, 2100, 2196, 2294, 2394, 2496, 2600, 2706, 2814, 2924, 3036, 3150, 3266, 3384
Offset: 0

Views

Author

Omar E. Pol, Aug 28 2007

Keywords

Comments

a(n) is the Zagreb 1 index of the Mycielskian of the cycle graph C[n]. See p. 205 of the D. B. West reference. - Emeric Deutsch, Nov 04 2016

References

  • Douglas B. West, Introduction to Graph Theory, 2nd ed., Prentice-Hall, NJ, 2001.

Crossrefs

Programs

Formula

a(n) = 2*n + a(n-1) + 24 (with a(0)=0). - Vincenzo Librandi, Aug 03 2010
a(n) = n^2 + 25*n. - Omar E. Pol, Nov 04 2016
From Chai Wah Wu, Dec 17 2016: (Start)
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 2.
G.f.: 2*x*(13 - 12*x)/(1-x)^3. (End)
From Amiram Eldar, Jan 16 2021: (Start)
Sum_{n>=1} 1/a(n) = H(25)/25 = A001008(25)/A102928(25) = 34052522467/223092870000, where H(k) is the k-th harmonic number.
Sum_{n>=1} (-1)^(n+1)/a(n) = 2*log(2)/25 - 19081066231/669278610000. (End)
E.g.f.: x*(26 + x)*exp(x). - G. C. Greubel, Mar 13 2022

A132209 a(0) = 0 and a(n) = 2*n^2 + 2*n - 1, for n>=1.

Original entry on oeis.org

0, 3, 11, 23, 39, 59, 83, 111, 143, 179, 219, 263, 311, 363, 419, 479, 543, 611, 683, 759, 839, 923, 1011, 1103, 1199, 1299, 1403, 1511, 1623, 1739, 1859, 1983, 2111, 2243, 2379, 2519, 2663, 2811, 2963, 3119, 3279, 3443, 3611, 3783, 3959, 4139, 4323, 4511
Offset: 0

Views

Author

Mohamed Bouhamida, Nov 06 2007

Keywords

Comments

Previous name was: Sequence gives X values that satisfy the integer equation 2*X^3 + 3*X^2 = Y^2.
To find Y values: b(n) = (2*n^2 + 2*n - 1)*(2*n - 1).

Crossrefs

Programs

  • Magma
    [0] cat [2*n^2+2*n-1: n in [1..50]]; // Vincenzo Librandi, Sep 22 2015
    
  • Mathematica
    Join[{0}, LinearRecurrence[{3, -3, 1}, {3, 11, 23}, 40]] (* Vincenzo Librandi, Sep 22 2015 *)
  • PARI
    for(n=0,50, print1(if(n==0, 0, 2*n^2 + 2*n -1), ", ")) \\ G. C. Greubel, Jul 13 2017

Formula

a(n) = 2*n^2 + 2*n - 1 for n>=1.
G.f.: x*(1+x)*(3-x)/(1-x)^3. - R. J. Mathar, Nov 14 2007
E.g.f.: 1 + (2*x^2 + 4*x -1)*exp(x). - G. C. Greubel, Jul 13 2017
From Amiram Eldar, Mar 07 2021: (Start)
Sum_{n>=1} 1/a(n) = 1 + sqrt(3)*Pi*tan(sqrt(3)*Pi/2)/6.
Product_{n>=1} (1 + 1/a(n)) = -Pi*sec(sqrt(3)*Pi/2)/2.
Product_{n>=1} (1 - 1/a(n)) = cos(sqrt(5)*Pi/2)*sec(sqrt(3)*Pi/2)/2. (End)

Extensions

Edited by the Associate Editors of the OEIS, Nov 15 2009
More terms from Vincenzo Librandi, Sep 22 2015
Shorter name (using formula given) from Joerg Arndt, Sep 27 2015
Previous Showing 21-30 of 76 results. Next