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.

A010021 a(0) = 1, a(n) = 32*n^2 + 2 for n > 0.

Original entry on oeis.org

1, 34, 130, 290, 514, 802, 1154, 1570, 2050, 2594, 3202, 3874, 4610, 5410, 6274, 7202, 8194, 9250, 10370, 11554, 12802, 14114, 15490, 16930, 18434, 20002, 21634, 23330, 25090, 26914, 28802, 30754, 32770, 34850, 36994, 39202, 41474, 43810, 46210, 48674, 51202
Offset: 0

Views

Author

Keywords

Comments

From Omar E. Pol, Apr 21 2021: (Start)
Sequence found by reading the line segment from 1 to 34 together with the line from 34, in the direction 34, 130, ..., in the rectangular spiral whose vertices are the generalized 18-gonal numbers A274979.
The spiral begins as follows:
46_ _ _ _ _ _ _ _ _ _18
| |
| 0 |
| | _ _ _ _ |
| 1 15
|
51
(End)

Crossrefs

Cf. A274979 (generalized 18-gonal numbers).

Programs

  • Mathematica
    Join[{1}, 32 Range[40]^2 + 2] (* Bruno Berselli, Feb 07 2012 *)
    CoefficientList[Series[(1 + x) (1 + 30 x + x^2)/(1 - x)^3, {x, 0, 40}], x] (* Vincenzo Librandi, Jun 25 2014 *)

Formula

G.f.: (1+x)*(1+30*x+x^2)/(1-x)^3. [Bruno Berselli, Feb 07 2012]
a(n) = A005893(4n) = A008527(2n); a(n+1) = A108100(2n+2). [Bruno Berselli, Feb 07 2012]
E.g.f.: (x*(x+1)*32+2)*e^x-1. - Gopinath A. R., Feb 14 2012
a(n) = (4n+1)^2+(4n-1)^2 for n>0. [Bruno Berselli, Jun 24 2014]
a(n) = A244082(n) + 2, n >= 1. - Omar E. Pol, Apr 21 2021
Sum_{n>=0} 1/a(n) = 3/4 + Pi/16*coth(Pi/4) = 1.04940725316131.. - R. J. Mathar, May 07 2024
a(n) = 2*A108211(n). - R. J. Mathar, May 07 2024
a(n) = A195315(n)+A195315(n+1). - R. J. Mathar, May 07 2024

A158563 a(n) = 32*n^2 - 1.

Original entry on oeis.org

31, 127, 287, 511, 799, 1151, 1567, 2047, 2591, 3199, 3871, 4607, 5407, 6271, 7199, 8191, 9247, 10367, 11551, 12799, 14111, 15487, 16927, 18431, 19999, 21631, 23327, 25087, 26911, 28799, 30751, 32767, 34847, 36991, 39199, 41471, 43807, 46207, 48671, 51199, 53791
Offset: 1

Views

Author

Vincenzo Librandi, Mar 21 2009

Keywords

Comments

The identity (32*n^2 - 1)^2 - (256*n^2 - 16)*(2*n)^2 = 1 can be written as a(n)^2 - A158562(n)*A005843(n)^2 = 1. [comment rewritten by R. J. Mathar, Oct 16 2009]
From Omar E. Pol, Apr 21 2021: (Start)
Sequence found by reading the line from 31, in the direction 31, 127, ..., in the rectangular spiral whose vertices are the generalized 18-gonal numbers A274979.
The spiral begins as follows:
46_ _ _ _ _ _ _ _ _ _18
| |
| 0 |
| | _ _ _ _ |
| 1 15
|
51
(End)

Crossrefs

Cf. A274979 (generalized 18-gonal numbers).

Programs

Formula

G.f.: x*(-31-34*x+x^2)/(x-1)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
a(n) = A244082(n) - 1. - Omar E. Pol, Apr 21 2021
From Amiram Eldar, Mar 09 2023: (Start)
Sum_{n>=1} 1/a(n) = (1 - cot(Pi/(4*sqrt(2)))*Pi/(4*sqrt(2)))/2.
Sum_{n>=1} (-1)^(n+1)/a(n) = (cosec(Pi/(4*sqrt(2)))*Pi/(4*sqrt(2)) - 1)/2. (End)
E.g.f.: 1 + exp(x)*(32*x^2 + 32*x - 1). - Elmo R. Oliveira, Jan 25 2025

A158575 a(n) = 32*n^2 + 1.

Original entry on oeis.org

1, 33, 129, 289, 513, 801, 1153, 1569, 2049, 2593, 3201, 3873, 4609, 5409, 6273, 7201, 8193, 9249, 10369, 11553, 12801, 14113, 15489, 16929, 18433, 20001, 21633, 23329, 25089, 26913, 28801, 30753, 32769, 34849, 36993, 39201, 41473, 43809, 46209, 48673, 51201, 53793
Offset: 0

Views

Author

Vincenzo Librandi, Mar 21 2009

Keywords

Comments

The identity (32*n^2 + 1)^2 - (256*n^2 + 16)*(2*n)^2 = 1 can be written as a(n)^2-A158574(n)*A005843(n)^2 = 1. - Comment rewritten by R. J. Mathar, Oct 16 2009
Sequence found by reading the line segment from 1 to 33 together with the line from 33, in the direction 33, 129, ..., in the square spiral whose vertices are the generalized 18-gonal numbers A274979. - Omar E. Pol, Apr 21 2021

Crossrefs

Cf. A274979 (generalized 18-gonal numbers).

Programs

  • Magma
    I:=[1, 33, 129]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..50]]; // Vincenzo Librandi, Feb 15 2012
    
  • Mathematica
    LinearRecurrence[{3, -3, 1}, {1, 33, 129}, 50] (* Vincenzo Librandi, Feb 15 2012 *)
    32*Range[0,40]^2+1 (* Harvey P. Dale, Jul 20 2021 *)
  • PARI
    for(n=0, 50, print1(32*n^2+1", ")); \\ Vincenzo Librandi, Feb 15 2012

Formula

G.f.: (1+30*x+33*x^2)/(1-x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
For n > 0 a(n) = sqrt(8*(A000217(4*n-1)^2 + A000217(4*n)^2) + 1). - J. M. Bergot, Sep 03 2015
a(n) = A244082(n) + 1. - Omar E. Pol, Apr 21 2021
From Amiram Eldar, Mar 09 2023: (Start)
Sum_{n>=0} 1/a(n) = (1 + coth(Pi/(4*sqrt(2)))*Pi/(4*sqrt(2)))/2.
Sum_{n>=0} (-1)^n/a(n) = (1 + cosech(Pi/(4*sqrt(2)))*Pi/(4*sqrt(2)))/2. (End)
From Elmo R. Oliveira, Jan 16 2025: (Start)
E.g.f.: exp(x)*(1 + 32*x + 32*x^2).
a(n) = A081585(2*n). (End)

Extensions

a(0) added by R. J. Mathar, Oct 16 2009

A017066 a(n) = (8*n)^2.

Original entry on oeis.org

0, 64, 256, 576, 1024, 1600, 2304, 3136, 4096, 5184, 6400, 7744, 9216, 10816, 12544, 14400, 16384, 18496, 20736, 23104, 25600, 28224, 30976, 33856, 36864, 40000, 43264, 46656, 50176, 53824, 57600, 61504, 65536, 69696, 73984, 78400, 82944, 87616, 92416, 97344, 102400
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

Formula

G.f.: -64*x*(1+x)/(x-1)^3. - R. J. Mathar, Jul 14 2016
a(n) = A000290(8*n) = A008590(n)^2 = A000290(A008590(n)).
From Amiram Eldar, Jan 25 2021: (Start)
Sum_{n>=1} 1/a(n) = Pi^2/384.
Sum_{n>=1} (-1)^(n+1)/a(n) = Pi^2/768.
Product_{n>=1} (1 + 1/a(n)) = sinh(Pi/8)/(Pi/8).
Product_{n>=1} (1 - 1/a(n)) = sin(Pi/8)/(Pi/8) = 4*sqrt(2-sqrt(2))/Pi. (End)
From Elmo R. Oliveira, Dec 06 2024: (Start)
E.g.f.: 64*exp(x)*x*(1 + x).
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 2.
a(n) = n*A152691(n) = 2*A244082(n) = A016802(2*n). (End)

A303302 a(n) = 34*n^2.

Original entry on oeis.org

0, 34, 136, 306, 544, 850, 1224, 1666, 2176, 2754, 3400, 4114, 4896, 5746, 6664, 7650, 8704, 9826, 11016, 12274, 13600, 14994, 16456, 17986, 19584, 21250, 22984, 24786, 26656, 28594, 30600, 32674, 34816, 37026, 39304, 41650, 44064, 46546, 49096, 51714, 54400, 57154, 59976, 62866, 65824, 68850, 71944
Offset: 0

Views

Author

Omar E. Pol, May 13 2018

Keywords

Comments

Sequence found by reading the line from 0, in the direction 0, 34, ..., in the square spiral whose vertices are the generalized 19-gonal numbers A303813.

Crossrefs

Cf. similar sequences of the type k*n^2: A000290 (k=1), A001105 (k=2), A033428 (k=3), A016742 (k=4), A033429 (k=5), A033581 (k=6), A033582 (k=7), A139098 (k=8), A016766 (k=9), A033583 (k=10), A033584 (k=11), A135453 (k=12), A152742 (k=13), A144555 (k=14), A064761 (k=15), A016802 (k=16), A244630 (k=17), A195321 (k=18), A244631 (k=19), A195322 (k=20), A064762 (k=21), A195323 (k=22), A244632 (k=23), A195824 (k=24), A016850 (k=25), A244633 (k=26), A244634 (k=27), A064763 (k=28), A244635 (k=29), A244636 (k=30), A244082 (k=32), this sequence (k=34), A016910 (k=36), A016982 (k=49), A017066 (k=64), A017162 (k=81), A017270 (k=100), A017390 (k=121), A017522 (k=144).

Programs

  • Magma
    [34*n^2: n in [0..50]]; // Vincenzo Librandi Jun 07 2018
  • Mathematica
    Table[34 n^2, {n, 0, 40}]
    LinearRecurrence[{3,-3,1},{0,34,136},50] (* Harvey P. Dale, Jul 23 2018 *)
  • PARI
    a(n) = 34*n^2;
    
  • PARI
    concat(0, Vec(34*x*(1 + x) / (1 - x)^3 + O(x^40))) \\ Colin Barker, Jun 12 2018
    

Formula

a(n) = 34*A000290(n) = 17*A001105(n) = 2*A244630(n).
G.f.: 34*x*(1 + x)/(1 - x)^3. - Vincenzo Librandi, Jun 07 2018
From Elmo R. Oliveira, Dec 02 2024: (Start)
E.g.f.: 34*x*(1 + x)*exp(x).
a(n) = A005843(n)*A008599(n).
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 2. (End)
Showing 1-5 of 5 results.