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

A033996 8 times triangular numbers: a(n) = 4*n*(n+1).

Original entry on oeis.org

0, 8, 24, 48, 80, 120, 168, 224, 288, 360, 440, 528, 624, 728, 840, 960, 1088, 1224, 1368, 1520, 1680, 1848, 2024, 2208, 2400, 2600, 2808, 3024, 3248, 3480, 3720, 3968, 4224, 4488, 4760, 5040, 5328, 5624, 5928, 6240, 6560, 6888, 7224, 7568, 7920, 8280
Offset: 0

Views

Author

N. J. A. Sloane, Dec 11 1999

Keywords

Comments

Write 0, 1, 2, ... in a clockwise spiral; sequence gives numbers on one of 4 diagonals.
Also, least m > n such that T(m)*T(n) is a square and more precisely that of A055112(n). {T(n) = A000217(n)}. - Lekraj Beedassy, May 14 2004
Also sequence found by reading the line from 0, in the direction 0, 8, ... and the same line from 0, in the direction 0, 24, ..., in the square spiral whose vertices are the generalized decagonal numbers A074377. Axis perpendicular to A195146 in the same spiral. - Omar E. Pol, Sep 18 2011
Number of diagonals with length sqrt(5) in an (n+1) X (n+1) square grid. Every 1 X 2 rectangle has two such diagonals. - Wesley Ivan Hurt, Mar 25 2015
Imagine a board made of squares (like a chessboard), one of whose squares is completely surrounded by square-shaped layers made of adjacent squares. a(n) is the total number of squares in the first to n-th layer. a(1) = 8 because there are 8 neighbors to the unit square; adding them gives a 3 X 3 square. a(2) = 24 = 8 + 16 because we need 16 more squares in the next layer to get a 5 X 5 square: a(n) = (2*n+1)^2 - 1 counting the (2n+1) X (2n+1) square minus the central square. - R. J. Cano, Sep 26 2015
The three platonic solids (the simplex, hypercube, and cross-polytope) with unit side length in n dimensions all have rational volume if and only if n appears in this sequence, after 0. - Brian T Kuhns, Feb 26 2016
The number of active (ON, black) cells in the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 645", based on the 5-celled von Neumann neighborhood. - Robert Price, May 19 2016
The square root of a(n), n>0, has continued fraction [2n; {1,4n}] with whole number part 2n and periodic part {1,4n}. - Ron Knott, May 11 2017
Numbers k such that k+1 is a square and k is a multiple of 4. - Bruno Berselli, Sep 28 2017
a(n) is the number of vertices of the octagonal network O(n,n); O(m,n) is defined by Fig. 1 of the Siddiqui et al. reference. - Emeric Deutsch, May 13 2018
a(n) is the number of vertices in conjoined n X n octagons which are arranged into a square array, a.k.a. truncated square tiling. - Donghwi Park, Dec 20 2020
a(n-2) is the number of ways to place 3 adjacent marks in a diagonal, horizontal, or vertical row on an n X n tic-tac-toe grid. - Matej Veselovac, May 28 2021

Examples

			Spiral with 0, 8, 24, 48, ... along lower right diagonal:
.
  36--37--38--39--40--41--42
   |                       |
  35  16--17--18--19--20  43
   |   |               |   |
  34  15   4---5---6  21  44
   |   |   |       |   |   |
  33  14   3   0   7  22  45
   |   |   |   | \ |   |   |
  32  13   2---1   8  23  46
   |   |           | \ |   |
  31  12--11--10---9  24  47
   |                   | \ |
  30--29--28--27--26--25  48
                            \
[Reformatted by _Jon E. Schoenfield_, Dec 25 2016]
		

References

  • Stuart M. Ellerstein, J. Recreational Math. 29 (3) 188, 1998.
  • R. L. Graham, D. E. Knuth and O. Patashnik, Concrete Mathematics. Addison-Wesley, Reading, MA, 2nd ed., 1994, p. 99.
  • Stephen Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 170.

Crossrefs

Cf. A000217, A016754, A002378, A024966, A027468, A028895, A028896, A045943, A046092, A049598, A088538, A124080, A008590 (first differences), A130809 (partial sums).
Sequences on the four axes of the square spiral: Starting at 0: A001107, A033991, A007742, A033954; starting at 1: A054552, A054556, A054567, A033951.
Sequences on the four diagonals of the square spiral: Starting at 0: A002939 = 2*A000384, A016742 = 4*A000290, A002943 = 2*A014105, A033996 = 8*A000217; starting at 1: A054554, A053755, A054569, A016754.
Sequences obtained by reading alternate terms on the X and Y axes and the two main diagonals of the square spiral: Starting at 0: A035608, A156859, A002378 = 2*A000217, A137932 = 4*A002620; starting at 1: A317186, A267682, A002061, A080335.

Programs

  • Magma
    [ 4*n*(n+1) : n in [0..50] ]; // Wesley Ivan Hurt, Jun 09 2014
  • Maple
    seq(8*binomial(n+1, 2), n=0..46); # Zerinvary Lajos, Nov 24 2006
    [seq((2*n+1)^2-1, n=0..46)];
  • Mathematica
    Table[(2n - 1)^2 - 1, {n, 50}] (* Alonso del Arte, Mar 31 2013 *)
  • PARI
    nsqm1(n) = { forstep(x=1,n,2, y = x*x-1; print1(y, ", ") ) }
    

Formula

a(n) = 4*n^2 + 4*n = (2*n+1)^2 - 1.
G.f.: 8*x/(1-x)^3.
a(n) = A016754(n) - 1 = 2*A046092(n) = 4*A002378(n). - Lekraj Beedassy, May 25 2004
a(n) = A049598(n) - A046092(n); a(n) = A124080(n) - A002378(n). - Zerinvary Lajos, Mar 06 2007
a(n) = 8*A000217(n). - Omar E. Pol, Dec 12 2008
a(n) = A005843(n) * A163300(n). - Juri-Stepan Gerasimov, Jul 26 2009
a(n) = a(n-1) + 8*n (with a(0)=0). - Vincenzo Librandi, Nov 17 2010
For n > 0, a(n) = A058031(n+1) - A062938(n-1). - Charlie Marion, Apr 11 2013
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - Wesley Ivan Hurt, Mar 25 2015
a(n) = A000578(n+1) - A152618(n). - Bui Quang Tuan, Apr 01 2015
a(n) - a(n-1) = A008590(n), n > 0. - Altug Alkan, Sep 26 2015
From Ilya Gutkovskiy, May 19 2016: (Start)
E.g.f.: 4*x*(2 + x)*exp(x).
Sum_{n>=1} 1/a(n) = 1/4. (End)
Product_{n>=1} a(n)/A016754(n) = Pi/4. - Daniel Suteu, Dec 25 2016
a(n) = A056220(n) + A056220(n+1). - Bruce J. Nicholson, May 29 2017
sqrt(a(n)+1) - sqrt(a(n)) = (sqrt(n+1) - sqrt(n))^2. - Seiichi Manyama, Dec 23 2018
a(n)*a(n+k) + 4*k^2 = m^2 where m = (a(n) + a(n+k))/2 - 2*k^2; for k=1, m = 4*n^2 + 8*n + 2 = A060626(n). - Ezhilarasu Velayutham, May 22 2019
Sum_{n>=1} (-1)^n/a(n) = 1/4 - log(2)/2. - Vaclav Kotesovec, Dec 21 2020
From Amiram Eldar, Feb 21 2023: (Start)
Product_{n>=1} (1 - 1/a(n)) = -(4/Pi)*cos(Pi/sqrt(2)).
Product_{n>=1} (1 + 1/a(n)) = 4/Pi (A088538). (End)

A195040 Square array read by antidiagonals with T(n,k) = k*n^2/4+(k-4)*((-1)^n-1)/8, n>=0, k>=0.

Original entry on oeis.org

0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 3, 2, 1, 0, 1, 4, 5, 3, 1, 0, 0, 7, 8, 7, 4, 1, 0, 1, 9, 13, 12, 9, 5, 1, 0, 0, 13, 18, 19, 16, 11, 6, 1, 0, 1, 16, 25, 27, 25, 20, 13, 7, 1, 0, 0, 21, 32, 37, 36, 31, 24, 15, 8, 1, 0, 1, 25, 41, 48, 49, 45, 37, 28, 17, 9, 1, 0
Offset: 0

Views

Author

Omar E. Pol, Sep 27 2011

Keywords

Comments

Also, if k >= 2 and m = 2*k, then column k lists the numbers of the form k*n^2 and the centered m-gonal numbers interleaved.
For k >= 3, this is also a table of concentric polygonal numbers. Column k lists the concentric k-gonal numbers.
It appears that the first differences of column k are the numbers that are congruent to {1, k-1} mod k, if k >= 3.

Examples

			Array begins:
  0,   0,   0,   0,   0,   0,   0,   0,   0,   0, ...
  1,   1,   1,   1,   1,   1,   1,   1,   1,   1, ...
  0,   1,   2,   3,   4,   5,   6,   7,   8,   9, ...
  1,   3,   5,   7,   9,  11,  13,  15,  17,  19, ...
  0,   4,   8,  12,  16,  20,  24,  28,  32,  36, ...
  1,   7,  13,  19,  25,  31,  37,  43,  49,  55, ...
  0,   9,  18,  27,  36,  45,  54,  63,  72,  81, ...
  1,  13,  25,  37,  49,  61,  73,  85,  97, 109, ...
  0,  16,  32,  48,  64,  80,  96, 112, 128, 144, ...
  1,  21,  41,  61,  81, 101, 121, 141, 161, 181, ...
  0,  25,  50,  75, 100, 125, 150, 175, 200, 225, ...
  ...
		

Crossrefs

Rows n: A000004 (n=0), A000012 (n=1), A001477 (n=2), A005408 (n=3), A008586 (n=4), A016921 (n=5), A008591 (n=6), A017533 (n=7), A008598 (n=8), A215145 (n=9), A008607 (n=10).
Columns k: A000035 (k=0), A004652 (k=1), A000982 (k=2), A077043 (k=3), A000290 (k=4), A032527 (k=5), A032528 (k=6), A195041 (k=7), A077221 (k=8), A195042 (k=9), A195142 (k=10), A195043 (k=11), A195143 (k=12), A195045 (k=13), A195145 (k=14), A195046 (k=15), A195146 (k=16), A195047 (k=17), A195147 (k=18), A195048 (k=19), A195148 (k=20), A195049 (k=21), A195149 (k=22), A195058 (k=23), A195158 (k=24).

Programs

  • GAP
    nmax:=13;; T:=List([0..nmax],n->List([0..nmax],k->k*n^2/4+(k-4)*((-1)^n-1)/8));; b:=List([2..nmax],n->OrderedPartitions(n,2));;
    a:=Flat(List([1..Length(b)],i->List([1..Length(b[i])],j->T[b[i][j][2]][b[i][j][1]]))); # Muniru A Asiru, Jul 19 2018
  • Maple
    A195040 := proc(n,k)
            k*n^2/4+((-1)^n-1)*(k-4)/8 ;
    end proc:
    for d from 0 to 12 do
            for k from 0 to d do
                    printf("%d,",A195040(d-k,k)) ;
            end do:
    end do; # R. J. Mathar, Sep 28 2011
  • Mathematica
    t[n_, k_] := k*n^2/4+(k-4)*((-1)^n-1)/8; Flatten[ Table[ t[n-k, k], {n, 0, 11}, {k, 0, n}]] (* Jean-François Alcover, Dec 14 2011 *)

A016802 a(n) = (4*n)^2.

Original entry on oeis.org

0, 16, 64, 144, 256, 400, 576, 784, 1024, 1296, 1600, 1936, 2304, 2704, 3136, 3600, 4096, 4624, 5184, 5776, 6400, 7056, 7744, 8464, 9216, 10000, 10816, 11664, 12544, 13456, 14400, 15376, 16384, 17424, 18496, 19600, 20736, 21904, 23104, 24336, 25600, 26896, 28224
Offset: 0

Views

Author

Keywords

Comments

A bisection of A016742. Sequence arises from reading the line from 0, in the direction 0, 16, ... in the square spiral whose vertices are the squares A000290. - Omar E. Pol, May 24 2008
Also, sequence found by reading the line from 0, in the direction 0, 16, ... in the square spiral whose vertices are the generalized decagonal numbers A074377. - Omar E. Pol, Sep 10 2011

Crossrefs

Programs

Formula

a(n) = 16*n^2 = 16*A000290(n). - Omar E. Pol, Dec 11 2008
a(n) = 8*A001105(n) = 4*A016742(n) = 2*A139098(n). - Omar E. Pol, Dec 13 2008
a(n) = a(n-1) + 16*(2*n-1) (with a(0)=0). - Vincenzo Librandi, Nov 20 2010
From Amiram Eldar, Jan 25 2021: (Start)
Sum_{n>=1} 1/a(n) = Pi^2/96.
Sum_{n>=1} (-1)^(n+1)/a(n) = Pi^2/192.
Product_{n>=1} (1 + 1/a(n)) = sinh(Pi/4)/(Pi/4).
Product_{n>=1} (1 - 1/a(n)) = sin(Pi/4)/(Pi/4) = 2*sqrt(2)/Pi (A112628). (End)
From Elmo R. Oliveira, Nov 30 2024: (Start)
G.f.: 16*x*(1 + x)/(1-x)^3.
E.g.f.: 16*x*(1 + x)*exp(x).
a(n) = n*A008598(n) = A195146(2*n).
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 2. (End)

A195143 a(n) = n-th concentric 12-gonal number.

Original entry on oeis.org

0, 1, 12, 25, 48, 73, 108, 145, 192, 241, 300, 361, 432, 505, 588, 673, 768, 865, 972, 1081, 1200, 1321, 1452, 1585, 1728, 1873, 2028, 2185, 2352, 2521, 2700, 2881, 3072, 3265, 3468, 3673, 3888, 4105, 4332, 4561, 4800, 5041, 5292, 5545, 5808, 6073, 6348
Offset: 0

Views

Author

Omar E. Pol, Sep 17 2011

Keywords

Comments

Concentric dodecagonal numbers. [corrected by Ivan Panchenko, Nov 09 2013]
Sequence found by reading the line from 0, in the direction 0, 12,..., and the same line from 1, in the direction 1, 25,..., in the square spiral whose vertices are the generalized octagonal numbers A001082. Main axis, perpendicular to A028896 in the same spiral.
Partial sums of A091998. - Reinhard Zumkeller, Jan 07 2012
Column 12 of A195040. - Omar E. Pol, Sep 28 2011

Crossrefs

A135453 and A069190 interleaved.
Cf. A016921 (6n+1), A016969 (6n+5), A091998 (positive integers of the form 12*k +- 1), A092242 (positive integers of the form 12*k +- 5).

Programs

  • Haskell
    a195143 n = a195143_list !! n
    a195143_list = scanl (+) 0 a091998_list
    -- Reinhard Zumkeller, Jan 07 2012
  • Magma
    [(3*n^2+(-1)^n-1): n in [0..50]]; // Vincenzo Librandi, Sep 27 2011
    
  • Mathematica
    Table[Sum[2*(-1)^(n - k + 1) + 6*k - 3, {k, n}], {n, 0, 47}] (* L. Edson Jeffery, Sep 14 2014 *)

Formula

From Vincenzo Librandi, Sep 27 2011: (Start)
a(n) = 3*n^2+(-1)^n-1.
a(n) = -a(n-1) + 6*n^2 - 6*n + 1. (End)
G.f.: -x*(1+10*x+x^2) / ( (1+x)*(x-1)^3 ). - R. J. Mathar, Sep 18 2011
a(n) = Sum_{k=1..n} (2*(-1)^(n-k+1) + 3*(2*k-1)), n>0, a(0) = 0. - L. Edson Jeffery, Sep 14 2014
Sum_{n>=1} 1/a(n) = Pi^2/72 + tan(Pi/sqrt(6))*Pi/(4*sqrt(6)). - Amiram Eldar, Jan 16 2023

A195145 Concentric 14-gonal numbers.

Original entry on oeis.org

0, 1, 14, 29, 56, 85, 126, 169, 224, 281, 350, 421, 504, 589, 686, 785, 896, 1009, 1134, 1261, 1400, 1541, 1694, 1849, 2016, 2185, 2366, 2549, 2744, 2941, 3150, 3361, 3584, 3809, 4046, 4285, 4536, 4789, 5054, 5321, 5600, 5881, 6174, 6469, 6776, 7085, 7406
Offset: 0

Views

Author

Omar E. Pol, Sep 17 2011

Keywords

Comments

Also concentric tetradecagonal numbers or concentric tetrakaidecagonal numbers. Also sequence found by reading the line from 0, in the direction 0, 14, ..., and the same line from 1, in the direction 1, 29, ..., in the square spiral whose vertices are the generalized enneagonal numbers A118277. Main axis, perpendicular to A024966 in the same spiral.
Partial sums of A113801. - Reinhard Zumkeller, Jan 07 2012

Crossrefs

Programs

  • Haskell
    a195145 n = a195145_list !! n
    a195145_list = scanl (+) 0 a113801_list
    -- Reinhard Zumkeller, Jan 07 2012
  • Magma
    [(14*n^2+5*(-1)^n-5)/4: n in [0..50]]; // Vincenzo Librandi, Sep 27 2011
    
  • Mathematica
    LinearRecurrence[{2, 0, -2, 1}, {0, 1, 14, 29}, 50] (* Amiram Eldar, Jan 16 2023 *)

Formula

G.f.: -x*(1+12*x+x^2) / ( (1+x)*(x-1)^3 ). - R. J. Mathar, Sep 18 2011
From Vincenzo Librandi, Sep 27 2011: (Start)
a(n) = (14*n^2 + 5*(-1)^n - 5)/4;
a(n) = a(-n) = -a(n-1) + 7*n^2 - 7*n + 1. (End)
Sum_{n>=1} 1/a(n) = Pi^2/84 + tan(sqrt(5/7)*Pi/2)*Pi/(2*sqrt(35)). - Amiram Eldar, Jan 16 2023
E.g.f.: (7*x*(x + 1)*cosh(x) + (7*x^2 + 7*x - 5)*sinh(x))/2. - Stefano Spezia, Nov 30 2024

A195149 Concentric 22-gonal numbers.

Original entry on oeis.org

0, 1, 22, 45, 88, 133, 198, 265, 352, 441, 550, 661, 792, 925, 1078, 1233, 1408, 1585, 1782, 1981, 2200, 2421, 2662, 2905, 3168, 3433, 3718, 4005, 4312, 4621, 4950, 5281, 5632, 5985, 6358, 6733, 7128, 7525, 7942, 8361, 8800, 9241, 9702, 10165, 10648, 11133
Offset: 0

Views

Author

Omar E. Pol, Sep 17 2011

Keywords

Comments

Sequence found by reading the line from 0, in the direction 0, 22,..., and the same line from 1, in the direction 1, 45,..., in the square spiral whose vertices are the generalized tridecagonal numbers A195313. Main axis, perpendicular to A152740 in the same spiral.

Crossrefs

A195323 and A195318 interleaved.
Cf. A032527, A195049, A195058. Column 22 of A195040. - Omar E. Pol, Sep 29 2011

Programs

Formula

G.f.: -x*(1+20*x+x^2) / ( (1+x)*(x-1)^3 ). - R. J. Mathar, Sep 18 2011
a(n) = (22*n^2+9*(-1)^n-9)/4; a(n) = -a(n-1)+11*n^2-11*n+1. - Vincenzo Librandi, Sep 27 2011
Sum_{n>=1} 1/a(n) = Pi^2/132 + tan(3*Pi/(2*sqrt(11)))*Pi/(6*sqrt(11)). - Amiram Eldar, Jan 17 2023
a(n) = 2*a(n-1) - 2*a(n-3) + a(n-4). - Wesley Ivan Hurt, Jun 19 2025

A195142 Concentric 10-gonal numbers.

Original entry on oeis.org

0, 1, 10, 21, 40, 61, 90, 121, 160, 201, 250, 301, 360, 421, 490, 561, 640, 721, 810, 901, 1000, 1101, 1210, 1321, 1440, 1561, 1690, 1821, 1960, 2101, 2250, 2401, 2560, 2721, 2890, 3061, 3240, 3421, 3610, 3801, 4000, 4201, 4410, 4621, 4840, 5061, 5290
Offset: 0

Views

Author

Omar E. Pol, Sep 17 2011

Keywords

Comments

Also concentric decagonal numbers. Also sequence found by reading the line from 0, in the direction 0, 10, ..., and the same line from 1, in the direction 1, 21, ..., in the square spiral whose vertices are the generalized heptagonal numbers A085787. Main axis, perpendicular to A028895 in the same spiral.

Crossrefs

A033583 and A069133 interleaved.
Cf. A090771 (first differences).
Column 10 of A195040. - Omar E. Pol, Sep 28 2011

Programs

  • Haskell
    a195142 n = a195142_list !! n
    a195142_list = scanl (+) 0 a090771_list
    -- Reinhard Zumkeller, Jan 07 2012
  • Magma
    [(10*n^2+3*(-1)^n-3)/4: n in [0..50]]; // Vincenzo Librandi, Sep 27 2011
    
  • Mathematica
    RecurrenceTable[{a[0]==0,a[1]==1,a[n]==a[n-2]+10(n-1)},a[n],{n,50}] (* or *) LinearRecurrence[{2,0,-2,1},{0,1,10,21},50] (* Harvey P. Dale, Sep 29 2011 *)

Formula

G.f.: -x*(1+8*x+x^2) / ( (1+x)*(x-1)^3 ). - R. J. Mathar, Sep 18 2011
a(n) = -a(n-1) + 5*n^2 - 5*n + 1, a(0)=0. - Vincenzo Librandi, Sep 27 2011
From Bruno Berselli, Sep 27 2011: (Start)
a(n) = a(-n) = (10*n^2 + 3*(-1)^n - 3)/4.
a(n) = a(n-2) + 10*(n-1). (End)
a(n) = 2*a(n-1) + 0*a(n-2) - 2*a(n-3) + a(n-4); a(0)=0, a(1)=1, a(2)=10, a(3)=21. - Harvey P. Dale, Sep 29 2011
Sum_{n>=1} 1/a(n) = Pi^2/60 + tan(sqrt(3/5)*Pi/2)*Pi/(2*sqrt(15)). - Amiram Eldar, Jan 16 2023

A195147 Concentric 18-gonal numbers.

Original entry on oeis.org

0, 1, 18, 37, 72, 109, 162, 217, 288, 361, 450, 541, 648, 757, 882, 1009, 1152, 1297, 1458, 1621, 1800, 1981, 2178, 2377, 2592, 2809, 3042, 3277, 3528, 3781, 4050, 4321, 4608, 4897, 5202, 5509, 5832, 6157, 6498, 6841, 7200, 7561, 7938, 8317, 8712, 9109
Offset: 0

Views

Author

Omar E. Pol, Sep 17 2011

Keywords

Comments

Concentric octadecagonal numbers or concentric octakaidecagonal numbers.
Sequence found by reading the line from 0, in the direction 0, 18, ..., and the same line from 1, in the direction 1, 37, ..., in the square spiral whose vertices are the generalized hendecagonal numbers A195160. Main axis, perpendicular to A027468 in the same spiral.

Crossrefs

A195321 and A195316 interleaved.
Cf. A032527, A195047, A195048. Column 18 of A195040. - Omar E. Pol, Sep 29 2011

Programs

Formula

G.f.: -x*(1+16*x+x^2) / ( (1+x)*(x-1)^3 ). - R. J. Mathar, Sep 18 2011
From Vincenzo Librandi, Sep 27 2011: (Start)
a(n) = (18*n^2 + 7*(-1)^n - 7)/4;
a(n) = -a(n-1) + 9*n^2 - 9*n + 1. (End)
Sum_{n>=1} 1/a(n) = Pi^2/108 + tan(sqrt(7)*Pi/6)*Pi/(6*sqrt(7)). - Amiram Eldar, Jan 17 2023

A195148 Concentric 20-gonal numbers.

Original entry on oeis.org

0, 1, 20, 41, 80, 121, 180, 241, 320, 401, 500, 601, 720, 841, 980, 1121, 1280, 1441, 1620, 1801, 2000, 2201, 2420, 2641, 2880, 3121, 3380, 3641, 3920, 4201, 4500, 4801, 5120, 5441, 5780, 6121, 6480, 6841, 7220, 7601, 8000, 8401, 8820, 9241, 9680, 10121
Offset: 0

Views

Author

Omar E. Pol, Sep 17 2011

Keywords

Comments

Concentric icosagonal numbers.
Sequence found by reading the line from 0, in the direction 0, 20, ..., and the same line from 1, in the direction 1, 41, ..., in the square spiral whose vertices are the generalized dodecagonal numbers A195162. Main axis, perpendicular to A124080 in the same spiral.

Crossrefs

A195322 and A195317 interleaved.
Cf. A032527, A195048, A195049. Column 20 of A195040. - Omar E. Pol, Sep 29 2011

Programs

Formula

From Vincenzo Librandi, Sep 27 2011: (Start)
a(n) = 5*n^2 + 2*(-1)^n-2;
a(n) = -a(n-1) + 10*n^2 - 10*n + 1. (End)
G.f.: x*(1+18*x+x^2)/((1+x)*(1-x)^3). - Bruno Berselli, Sep 27 2011
Sum_{n>=1} 1/a(n) = Pi^2/120 + tan(Pi/sqrt(5))*Pi/(8*sqrt(5)). - Amiram Eldar, Jan 17 2023

A195046 Concentric 15-gonal numbers.

Original entry on oeis.org

0, 1, 15, 31, 60, 91, 135, 181, 240, 301, 375, 451, 540, 631, 735, 841, 960, 1081, 1215, 1351, 1500, 1651, 1815, 1981, 2160, 2341, 2535, 2731, 2940, 3151, 3375, 3601, 3840, 4081, 4335, 4591, 4860, 5131, 5415, 5701, 6000, 6301, 6615, 6931, 7260, 7591
Offset: 0

Views

Author

Omar E. Pol, Sep 27 2011

Keywords

Crossrefs

Programs

  • Mathematica
    Table[15n^2/4+11((-1)^n-1)/8,{n,0,50}] (* or *) LinearRecurrence[ {2,0,-2,1},{0,1,15,31},50] (* Harvey P. Dale, Feb 23 2012 *)
  • PARI
    a(n)=15*n^2/4+11*((-1)^n-1)/8 \\ Charles R Greathouse IV, Oct 07 2015

Formula

a(n) = 15*n^2/4+11*((-1)^n-1)/8.
From Harvey P. Dale, Feb 23 2012: (Start)
a(0)=0, a(1)=1, a(2)=15, a(3)=31, a(n)=2*a(n-1)-2*a(n-3)+a(n-4).
G.f.: -((x*(1+x*(13+x)))/((-1+x)^3*(1+x))). (End)
Sum_{n>=1} 1/a(n) = Pi^2/90 + tan(sqrt(11/15)*Pi/2)*Pi/sqrt(165). - Amiram Eldar, Jan 16 2023

Extensions

a(1)=1 added by Harvey P. Dale, Feb 23 2012
Showing 1-10 of 13 results. Next