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-5 of 5 results.

A269044 a(n) = 13*n + 7.

Original entry on oeis.org

7, 20, 33, 46, 59, 72, 85, 98, 111, 124, 137, 150, 163, 176, 189, 202, 215, 228, 241, 254, 267, 280, 293, 306, 319, 332, 345, 358, 371, 384, 397, 410, 423, 436, 449, 462, 475, 488, 501, 514, 527, 540, 553, 566, 579, 592, 605, 618, 631, 644, 657, 670, 683, 696, 709, 722, 735
Offset: 0

Views

Author

Bruno Berselli, Feb 18 2016

Keywords

Comments

After 7 (which corresponds to n=0), all terms belong to A090767 because a(n) = 3*n*2*1 + 2*(n*2+2*1+n*1) + (n+2+1).
This sequence is related to A152741 by the recurrence A152741(n+1) = (n+1)*a(n+1) - Sum_{k = 0..n} a(k).
Any square mod 13 is one of 0, 1, 3, 4, 9, 10 or 12 (A010376) but not 7, and for this reason there are no squares in the sequence. Likewise, any cube mod 13 is one of 0, 1, 5, 8 or 12, therefore no a(k) is a cube.
The sum of the squares of any two terms of the sequence is also a term of the sequence, that is: a(h)^2 + a(k)^2 = a(h*(13*h+14) + k*(13*k+14) + 7). Therefore: a(h)^2 + a(k)^2 > a(a( h*(h+1) + k*(k+1) )) for h+k > 0.
The primes of the sequence are listed in A140371.

Crossrefs

Cf. A010376, A022271 (partial sums), A088227, A090767, A140371, A152741.
Similar sequences with closed form (2*k-1)*n+k: A001489 (k=0), A000027 (k=1), A016789 (k=2), A016885 (k=3), A017029 (k=4), A017221 (k=5), A017461 (k=6), this sequence (k=7), A164284 (k=8).
Sequences of the form 13*n+q: A008595 (q=0), A190991 (q=1), A153080 (q=2), A127547 (q=4), A154609 (q=5), A186113 (q=6), this sequence (q=7), A269100 (q=11).

Programs

  • Magma
    [13*n+7: n in [0..60]];
    
  • Mathematica
    13 Range[0, 60] + 7 (* or *) Range[7, 800, 13] (* or *) Table[13 n + 7, {n, 0, 60}]
    LinearRecurrence[{2, -1}, {7, 20}, 60] (* Vincenzo Librandi, Feb 19 2016 *)
  • Maxima
    makelist(13*n+7, n, 0, 60);
    
  • PARI
    vector(60, n, n--; 13*n+7)
    
  • Sage
    [13*n+7 for n in (0..60)]

Formula

G.f.: (7 + 6*x)/(1 - x)^2.
a(n) = A088227(4*n+3).
a(n) = -A186113(-n-1).
Sum_{i=h..h+13*k} a(i) = a(h*(13*k + 1) + k*(169*k + 27)/2).
Sum_{i>=0} 1/a(i)^2 = 0.0257568950542502716970... = polygamma(1, 7/13)/13^2.
E.g.f.: exp(x)*(7 + 13*x). - Stefano Spezia, Aug 02 2021

A069131 Centered 18-gonal numbers.

Original entry on oeis.org

1, 19, 55, 109, 181, 271, 379, 505, 649, 811, 991, 1189, 1405, 1639, 1891, 2161, 2449, 2755, 3079, 3421, 3781, 4159, 4555, 4969, 5401, 5851, 6319, 6805, 7309, 7831, 8371, 8929, 9505, 10099, 10711, 11341, 11989, 12655, 13339, 14041, 14761, 15499, 16255, 17029, 17821
Offset: 1

Views

Author

Terrel Trotter, Jr., Apr 07 2002

Keywords

Comments

Equals binomial transform of [1, 18, 18, 0, 0, 0, ...]. Example: a(3) = 55 = (1, 2, 1) dot (1, 18, 18) = (1 + 36 + 18). - Gary W. Adamson, Aug 24 2010
Narayana transform (A001263) of [1, 18, 0, 0, 0, ...]. - Gary W. Adamson, Jul 28 2011
From Lamine Ngom, Aug 19 2021: (Start)
Sequence is a spoke of the hexagonal spiral built from the terms of A016777 (see illustration in links section).
a(n) is a bisection of A195042.
a(n) is a trisection of A028387.
a(n) + 1 is promic (A002378).
a(n) + 2 is a trisection of A002061.
a(n) + 9 is the arithmetic mean of its neighbors.
4*a(n) + 5 is a square: A016945(n)^2. (End)

Examples

			a(5) = 181 because 9*5^2 - 9*5 + 1 = 225 - 45 + 1 = 181.
		

Crossrefs

Programs

Formula

a(n) = 9*n^2 - 9*n + 1.
a(n) = 18*n + a(n-1) - 18 (with a(1)=1). - Vincenzo Librandi, Aug 08 2010
G.f.: ( x*(1+16*x+x^2) ) / ( (1-x)^3 ). - R. J. Mathar, Feb 04 2011
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3); a(1)=1, a(2)=19, a(3)=55. - Harvey P. Dale, Jan 20 2014
From Amiram Eldar, Jun 21 2020: (Start)
Sum_{n>=1} 1/a(n) = Pi*tan(sqrt(5)*Pi/6)/(3*sqrt(5)).
Sum_{n>=1} a(n)/n! = 10*e - 1.
Sum_{n>=1} (-1)^n * a(n)/n! = 10/e - 1. (End)
From Lamine Ngom, Aug 19 2021: (Start)
a(n) = 18*A000217(n) + 1 = 9*A002378(n) + 1.
a(n) = 3*A003215(n) - 2.
a(n) = A247792(n) - 9*n.
a(n) = A082040(n) + A304163(n) - a(n-1) = A016778(n) + A016790(n) - a(n-1), n > 0.
a(n) + a(n+1) = 2*A247792(n) = A010008(n), n > 0.
a(n+1) - a(n) = 18*n = A008600(n). (End)
From Leo Tavares, Oct 31 2021: (Start)
a(n)= A000290(n) + A139278(n-1)
a(n) = A069129(n) + A002378(n-1)
a(n) = A062786(n) + 8*A000217(n-1)
a(n) = A062786(n) + A033996(n-1)
a(n) = A060544(n) + 9*A000217(n-1)
a(n) = A060544(n) + A027468(n-1)
a(n) = A016754(n-1) + 10*A000217(n-1)
a(n) = A016754(n-1) + A124080
a(n) = A069099(n) + 11*A000217(n-1)
a(n) = A069099(n) + A152740(n-1)
a(n) = A003215(n-1) + 12*A000217(n-1)
a(n) = A003215(n-1) + A049598(n-1)
a(n) = A005891(n-1) + 13*A000217(n-1)
a(n) = A005891(n-1) + A152741(n-1)
a(n) = A001844(n) + 14*A000217(n-1)
a(n) = A001844(n) + A163756(n-1)
a(n) = A005448(n) + 15*A000217(n-1)
a(n) = A005448(n) + A194715(n-1). (End)
E.g.f.: exp(x)*(1 + 9*x^2) - 1. - Nikolaos Pantelidis, Feb 06 2023

A069126 Centered 13-gonal numbers.

Original entry on oeis.org

1, 14, 40, 79, 131, 196, 274, 365, 469, 586, 716, 859, 1015, 1184, 1366, 1561, 1769, 1990, 2224, 2471, 2731, 3004, 3290, 3589, 3901, 4226, 4564, 4915, 5279, 5656, 6046, 6449, 6865, 7294, 7736, 8191, 8659, 9140, 9634, 10141, 10661, 11194
Offset: 1

Views

Author

Terrel Trotter, Jr., Apr 07 2002

Keywords

Comments

Centered tridecagonal numbers or centered triskaidecagonal numbers. - Omar E. Pol, Oct 03 2011

Examples

			a(5) = 131 because 131 = (13*5^2 - 13*5 + 2)/2 = (325 - 65 + 2)/2 = 262/2 = 131.
		

Crossrefs

Programs

  • Mathematica
    FoldList[#1 + #2 &, 1, 13 Range@ 45] (* Robert G. Wilson v, Feb 02 2011 *)
    LinearRecurrence[{3,-3,1},{1,14,40},60] (* Harvey P. Dale, Jan 20 2014 *)
    With[{nn=50},Total/@Thread[{PolygonalNumber[13,Range[nn]],Range[0,nn-1]^2}]] (* Requires Mathematica version 11 or later *) (* Harvey P. Dale, Aug 29 2016 *)
  • PARI
    a(n)=13*n(n-1)/2+1 \\ Charles R Greathouse IV, Oct 07 2015

Formula

a(n) = (13n^2 - 13n + 2)/2.
Binomial transform of [1, 13, 13, 0, 0, 0, ...]; Narayana transform (A001263) of [1, 13, 0, 0, 0, ...]. - Gary W. Adamson, Dec 29 2007
a(n) = 13*n+a(n-1)-13 (with a(1)=1). - Vincenzo Librandi, Aug 08 2010
G.f.: -x*(1+11*x+x^2) / (x-1)^3. - R. J. Mathar, Feb 04 2011
a(n) = A152741(n-1) + 1. - Omar E. Pol, Oct 03 2011
From Amiram Eldar, Jun 21 2020: (Start)
Sum_{n>=1} 1/a(n) = 2*Pi*tan(sqrt(5/13)*Pi/2)/sqrt(65).
Sum_{n>=1} a(n)/n! = 15*e/2 - 1.
Sum_{n>=1} (-1)^n * a(n)/n! = 15/(2*e) - 1. (End)
E.g.f.: exp(x)*(1 + 13*x^2/2) - 1. - Stefano Spezia, May 15 2022

A173307 a(n) = 13*n*(n+1).

Original entry on oeis.org

0, 26, 78, 156, 260, 390, 546, 728, 936, 1170, 1430, 1716, 2028, 2366, 2730, 3120, 3536, 3978, 4446, 4940, 5460, 6006, 6578, 7176, 7800, 8450, 9126, 9828, 10556, 11310, 12090, 12896, 13728, 14586, 15470, 16380, 17316, 18278, 19266, 20280, 21320, 22386, 23478, 24596
Offset: 0

Views

Author

Vincenzo Librandi, Feb 16 2010

Keywords

Crossrefs

Programs

  • Magma
    [13*n*(n+1): n in [0..40]]; // Vincenzo Librandi, Sep 28 2013
    
  • Magma
    I:=[0, 26, 78]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+Self(n-3): n in [1..40]]; // Vincenzo Librandi, Sep 28 2013
    
  • Mathematica
    Table[13 n (n + 1), {n, 0, 50}] (* or *) CoefficientList[Series[26 x/(1 - x)^3, {x, 0, 50}], x] (* Vincenzo Librandi, Sep 28 2013 *)
    LinearRecurrence[{3,-3,1},{0,26,78},50] (* Harvey P. Dale, Apr 08 2014 *)
  • PARI
    a(n)=13*n*(n+1) \\ Charles R Greathouse IV, Jun 17 2017

Formula

a(n) = 26*A000217(n).
From Vincenzo Librandi, Sep 28 2013: (Start)
G.f.: 26*x/(1-x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). (End)
From Amiram Eldar, Feb 22 2023: (Start)
Sum_{n>=1} 1/a(n) = 1/13.
Sum_{n>=1} (-1)^(n+1)/a(n) = (2*log(2) - 1)/13.
Product_{n>=1} (1 - 1/a(n)) = -(13/Pi)*cos(sqrt(17/13)*Pi/2).
Product_{n>=1} (1 + 1/a(n)) = (13/Pi)*cos(3*Pi/(2*sqrt(13))). (End)
From Elmo R. Oliveira, Dec 14 2024: (Start)
E.g.f.: 13*exp(x)*x*(2 + x).
a(n) = 13*A002378(n) = 2*A152741(n). (End)

Extensions

Incorrect formulas and examples deleted by R. J. Mathar, Jan 04 2011

A228203 x-values in the solution to x^2 - 13y^2 = 27.

Original entry on oeis.org

12, 40, 220, 768, 14808, 51700, 285520, 996852, 19220772, 67106560, 370604740, 1293913128, 24948547248, 87104263180, 481044667000, 1679498243292, 32383195107132, 113061266501080, 624395607161260, 2179987425879888, 42033362300510088, 146753436814138660
Offset: 1

Views

Author

Colin Barker, Aug 16 2013

Keywords

Comments

This equation is used for worked examples in the Robertson paper.
(1/8)*a(n)^2 -5 is a term of A152741. [Bruno Berselli, Aug 17 2013]

Crossrefs

Cf. A228204.

Programs

  • Magma
    I:=[12,40,220,768,14808,51700,285520,996852]; [n le 8 select I[n] else 1298*Self(n-4)-Self(n-8): n in [1..30]]; // Vincenzo Librandi, Aug 17 2013
  • Mathematica
    CoefficientList[Series[-4 (x - 1) (3 x^6 + 13 x^5 + 68 x^4 + 260 x^3 + 68 x^2 + 13 x+3) / ((x^4 - 36 x^2 - 1) (x^4 + 36 x^2 - 1)), {x, 0, 30}], x] (* Vincenzo Librandi, Aug 17 2013 *)
    LinearRecurrence[{0,0,0,1298,0,0,0,-1},{12,40,220,768,14808,51700,285520,996852},30] (* Harvey P. Dale, Apr 22 2024 *)
  • PARI
    Vec(-4*x*(x-1)*(3*x^6+13*x^5+68*x^4+260*x^3+68*x^2+13*x+3)/((x^4-36*x^2-1)*(x^4+36*x^2-1)) + O(x^100))
    

Formula

G.f.: -4*x*(x-1)*(3*x^6+13*x^5+68*x^4+260*x^3+68*x^2+13*x+3) / ((x^4-36*x^2-1)*(x^4+36*x^2-1)).
a(n) = 1298*a(n-4)-a(n-8).
Showing 1-5 of 5 results.