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 11-20 of 22 results. Next

A132769 a(n) = n*(n + 27).

Original entry on oeis.org

0, 28, 58, 90, 124, 160, 198, 238, 280, 324, 370, 418, 468, 520, 574, 630, 688, 748, 810, 874, 940, 1008, 1078, 1150, 1224, 1300, 1378, 1458, 1540, 1624, 1710, 1798, 1888, 1980, 2074, 2170, 2268, 2368, 2470, 2574, 2680, 2788, 2898, 3010, 3124, 3240, 3358, 3478
Offset: 0

Views

Author

Omar E. Pol, Aug 28 2007

Keywords

Crossrefs

Programs

Formula

a(n) = 2*n + a(n-1) + 26, with a(0)=0. - Vincenzo Librandi, Aug 03 2010
a(0)=0, a(1)=28, a(2)=58; for n > 2, a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - Harvey P. Dale, Oct 14 2012
From Amiram Eldar, Jan 16 2021: (Start)
Sum_{n>=1} 1/a(n) = H(27)/27 = A001008(27)/A102928(27) = 312536252003/2168462696400, where H(k) is the k-th harmonic number.
Sum_{n>=1} (-1)^(n+1)/a(n) = 2*log(2)/27 - 57128792093/2168462696400. (End)
From Elmo R. Oliveira, Nov 29 2024: (Start)
G.f.: 2*x*(14 - 13*x)/(1 - x)^3.
E.g.f.: exp(x)*x*(28 + x).
a(n) = 2*A132756(n). (End)

A132770 a(n) = n*(n + 28).

Original entry on oeis.org

0, 29, 60, 93, 128, 165, 204, 245, 288, 333, 380, 429, 480, 533, 588, 645, 704, 765, 828, 893, 960, 1029, 1100, 1173, 1248, 1325, 1404, 1485, 1568, 1653, 1740, 1829, 1920, 2013, 2108, 2205, 2304, 2405, 2508, 2613, 2720, 2829, 2940, 3053, 3168, 3285, 3404, 3525
Offset: 0

Views

Author

Omar E. Pol, Aug 28 2007

Keywords

Crossrefs

Programs

Formula

a(n) = 2*n + a(n-1) + 27, with a(0)=0. - Vincenzo Librandi, Aug 03 2010
From Amiram Eldar, Jan 16 2021: (Start)
Sum_{n>=1} 1/a(n) = H(28)/28 = A001008(28)/A102928(28) = 315404588903/2248776129600, where H(k) is the k-th harmonic number.
Sum_{n>=1} (-1)^(n+1)/a(n) = 7751493599/321253732800. (End)
G.f.: x*(29 - 27*x)/(1-x)^3. - Harvey P. Dale, Aug 03 2021
E.g.f.: x*(29 + x)*exp(x). - G. C. Greubel, Mar 13 2022

A132771 a(n) = n*(n + 29).

Original entry on oeis.org

0, 30, 62, 96, 132, 170, 210, 252, 296, 342, 390, 440, 492, 546, 602, 660, 720, 782, 846, 912, 980, 1050, 1122, 1196, 1272, 1350, 1430, 1512, 1596, 1682, 1770, 1860, 1952, 2046, 2142, 2240, 2340, 2442, 2546, 2652, 2760, 2870, 2982, 3096, 3212, 3330, 3450, 3572
Offset: 0

Views

Author

Omar E. Pol, Aug 28 2007

Keywords

Crossrefs

Programs

Formula

a(n) = 2*n + a(n-1) + 28 (with a(0)=0). - Vincenzo Librandi, Aug 03 2010
From Amiram Eldar, Jan 16 2021: (Start)
Sum_{n>=1} 1/a(n) = H(29)/29 = A001008(29)/A102928(29) = 9227046511387/67543597321200, where H(k) is the k-th harmonic number.
Sum_{n>=1} (-1)^(n+1)/a(n) = 2*log(2)/29 - 236266661971/9649085331600. (End)
From G. C. Greubel, Mar 13 2022: (Start)
G.f.: 2*(15*x - 14*x^2)/(1-x)^3.
E.g.f.: x*(30 + x)*exp(x). (End)

A164010 Zero together with row 10 of the array in A163280.

Original entry on oeis.org

0, 23, 46, 57, 92, 85, 138, 119, 152, 171, 200, 220, 276, 286, 322, 375, 416, 442, 486, 532, 580, 630, 682, 736, 792, 850, 910, 972, 1036, 1102, 1170, 1240, 1312, 1386, 1462, 1540, 1620, 1702, 1786, 1872, 1960, 2050, 2142, 2236, 2332, 2430, 2530, 2632, 2736
Offset: 0

Views

Author

Omar E. Pol, Aug 08 2009

Keywords

Crossrefs

Formula

Conjecture: a(n) = A028569(n), n > 16. [R. J. Mathar, Jul 31 2010]

Extensions

Terms beyond a(12) from R. J. Mathar, Feb 06 2010

A132772 a(n) = n*(n + 30).

Original entry on oeis.org

0, 31, 64, 99, 136, 175, 216, 259, 304, 351, 400, 451, 504, 559, 616, 675, 736, 799, 864, 931, 1000, 1071, 1144, 1219, 1296, 1375, 1456, 1539, 1624, 1711, 1800, 1891, 1984, 2079, 2176, 2275, 2376, 2479, 2584, 2691, 2800, 2911, 3024, 3139, 3256, 3375, 3496, 3619
Offset: 0

Views

Author

Omar E. Pol, Aug 28 2007

Keywords

Crossrefs

Programs

Formula

G.f.: x*(31-29*x)/(1-x)^3. - R. J. Mathar, Nov 14 2007
a(n) = 2*n + a(n-1) + 29 (with a(0)=0). - Vincenzo Librandi, Aug 03 2010
a(0)=0, a(1)=31, a(2)=64, a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - Harvey P. Dale, Mar 06 2015
From Amiram Eldar, Jan 16 2021: (Start)
Sum_{n>=1} 1/a(n) = H(30)/30 = A001008(30)/A102928(30) = 9304682830147/69872686884000, where H(k) is the k-th harmonic number.
Sum_{n>=1} (-1)^(n+1)/a(n) = 225175759291/9981812412000. (End)
E.g.f.: x*(31 + x)*exp(x). - G. C. Greubel, Mar 13 2022

A028570 Numbers k such that k*(k + 9) is a palindrome.

Original entry on oeis.org

0, 2, 12, 44, 137, 157, 167, 248, 258, 1639, 1664, 1694, 5392, 15904, 16997, 160187, 487619, 1547147, 14674184, 14790532, 15019614, 15336644, 25234083, 26132578, 26211438, 26216753, 48675319, 49407017, 52030352, 54072524, 151698472, 164399727, 497665874
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Magma
    f:=func; [k:k in [0..2*10^7]| f(k*(k+9))]; // Marius A. Burtea, Nov 11 2019
    
  • Mathematica
    Select[Range[0, 9999], PalindromeQ[#^2 + 9#] &] (* Alonso del Arte, Nov 10 2019 *)
  • Python
    from itertools import count, islice
    def ispal(n): s = str(n); return s == s[::-1]
    def agen():
        for k in count(0):
            if ispal(k*(k+9)):
                yield k
    print(list(islice(agen(), 18))) # Michael S. Branicky, Jan 25 2022
  • Scala
    def palQ(n: Int, b: Int = 10): Boolean = n - Integer.parseInt(n.toString.reverse) == 0
    (0 to 9999).filter((n: Int) => palQ(n * n + 9 * n)) // Alonso del Arte, Nov 10 2019
    

Extensions

a(27) and beyond from Michael S. Branicky, Jan 25 2022

A028571 Palindromes of form k*(k+9).

Original entry on oeis.org

0, 22, 252, 2332, 20002, 26062, 29392, 63736, 68886, 2701072, 2783872, 2884882, 29122192, 253080352, 289050982, 25661316652, 237776677732, 2393677763932, 215331808133512, 218759969957812, 225588939885522, 235212787212532, 636759171957636, 682911868119286
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    Select[Table[k(k+9),{k,0,262*10^5}],PalindromeQ] (* Harvey P. Dale, Feb 13 2022 *)
  • Python
    from itertools import count, islice
    def ispal(n): s = str(n); return s == s[::-1]
    def agen():
        for k in count(0):
            if ispal(k*(k+9)):
                yield k*(k+9)
    print(list(islice(agen(), 18))) # Michael S. Branicky, Jan 26 2022

Formula

a(n) = A028570(n) * (A028570(n) + 9). - Michael S. Branicky, Jan 26 2022

Extensions

a(22) and beyond from Michael S. Branicky, Jan 26 2022

A277978 a(n) = 3*n*(n+3).

Original entry on oeis.org

0, 12, 30, 54, 84, 120, 162, 210, 264, 324, 390, 462, 540, 624, 714, 810, 912, 1020, 1134, 1254, 1380, 1512, 1650, 1794, 1944, 2100, 2262, 2430, 2604, 2784, 2970, 3162, 3360, 3564, 3774, 3990, 4212, 4440, 4674, 4914, 5160, 5412, 5670, 5934, 6204, 6480
Offset: 0

Views

Author

Emeric Deutsch, Nov 08 2016

Keywords

Comments

For n>= 3, a(n) is the second Zagreb index of the wheel graph with n+1 vertices. The second Zagreb index of a simple connected graph is the sum of the degree products d(i)d(j) over all edges ij of g.

Examples

			a(3) = 54. Indeed, the wheel graph with 4 vertices consists of 6 edges, each connecting two vertices of degree 3. Then, the second Zagreb index is 6*3*3 = 54.
		

Crossrefs

Programs

Formula

a(n) = 2 * A140091(n) = 3 * A028552(n) = 6 * A000096(n).
G.f.: 6*x*(2-x)/(1-x)^3
a(n) = A003154(n+1) - A003215(n-1). See Hexagonal Stars illustration. - Leo Tavares, Aug 20 2021

A277979 a(n) = 4*n^2 + 18*n.

Original entry on oeis.org

0, 22, 52, 90, 136, 190, 252, 322, 400, 486, 580, 682, 792, 910, 1036, 1170, 1312, 1462, 1620, 1786, 1960, 2142, 2332, 2530, 2736, 2950, 3172, 3402, 3640, 3886, 4140, 4402, 4672, 4950, 5236, 5530, 5832, 6142, 6460, 6786, 7120, 7462, 7812, 8170, 8536, 8910, 9292, 9682
Offset: 0

Views

Author

Emeric Deutsch, Nov 08 2016

Keywords

Comments

For n>=3, a(n) is the first Zagreb index of the double-wheel graph DW[n]. The first Zagreb index of a simple connected graph is the sum of the squared degrees of its vertices. Alternately, it is the sum of the degree sums d(i) + d(j) over all edges ij of the graph.
The double-wheel graph DW[n] consists of two cycles C[n], whose vertices are connected to an additional vertex.
The M-polynomial of the double-wheel graph DW[n] is M(DW[n],x,y)= 2*n*x^3*y^3 + 2*n*x^3*y^{2*n}.
4*a(n) + 81 is a square. - Bruno Berselli, May 08 2018

Examples

			a(3) = 90. Indeed, the double-wheel graph DW[3] has 6 edges with end-point degrees 3,3 and 6 edges with end-point degrees 3,6. Then the first Zagreb index is 6*6 + 6*9 = 90.
		

Crossrefs

Subsequence of A028569.

Programs

Formula

O.g.f.: 2*x*(11 - 7*x)/(1 - x)^3.
E.g.f.: 2*x*(11 + 2*x)*exp(x).
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
a(n) = 2*A139576(n).

A132773 a(n) = n*(n + 31).

Original entry on oeis.org

0, 32, 66, 102, 140, 180, 222, 266, 312, 360, 410, 462, 516, 572, 630, 690, 752, 816, 882, 950, 1020, 1092, 1166, 1242, 1320, 1400, 1482, 1566, 1652, 1740, 1830, 1922, 2016, 2112, 2210, 2310, 2412, 2516, 2622, 2730, 2840, 2952, 3066, 3182, 3300, 3420, 3542, 3666
Offset: 0

Views

Author

Omar E. Pol, Aug 28 2007

Keywords

Crossrefs

Programs

Formula

G.f.: 2*x*(-16+15*x)/(-1+x)^3. - R. J. Mathar, Nov 14 2007
a(n) = 2*A132758(n). - R. J. Mathar, Jul 22 2009
a(n) = 2*n + a(n-1) + 30, with n > 0, a(0)=0. - Vincenzo Librandi, Aug 03 2010
From Amiram Eldar, Jan 16 2021: (Start)
Sum_{n>=1} 1/a(n) = H(31)/31 = A001008(31)/A102928(31) = 290774257297357/2238255069850800, where H(k) is the k-th harmonic number.
Sum_{n>=1} (-1)^(n+1)/a(n) = 2*log(2)/31 - 7313175618421/319750724264400. (End)
From Elmo R. Oliveira, Dec 13 2024: (Start)
E.g.f.: exp(x)*x*(32 + x).
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 2. (End)
Previous Showing 11-20 of 22 results. Next