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 31-40 of 47 results. Next

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

Original entry on oeis.org

0, 1, 0, 1, 1, 0, 4, 2, 1, 0, 4, 5, 3, 1, 0, 9, 7, 6, 4, 1, 0, 9, 12, 10, 7, 5, 1, 0, 16, 15, 15, 13, 8, 6, 1, 0, 16, 22, 21, 18, 16, 9, 7, 1, 0, 25, 26, 28, 27, 21, 19, 10, 8, 1, 0, 25, 35, 36, 34, 33, 24, 22, 11, 9, 1, 0, 36, 40, 45, 46, 40, 39, 27, 25, 12, 10, 1, 0
Offset: 0

Views

Author

Omar E. Pol, Sep 14 2011

Keywords

Comments

Also, column k lists the partial sums of the column k of A195151. The first differences in row n are always the n-th term of the triangular numbers repeated 0,0,1,1,3,3,6,6,... ([0,0] together with A008805).
Also, for k >= 1, this is a table of generalized polygonal numbers since column k lists the generalized m-gonal numbers, where m = k+4, for example: if k = 1 then m = 5, so the column 1 lists the generalized pentagonal numbers A001318 (see example).

Examples

			Array begins:
.  0,   0,   0,   0,   0,   0,   0,   0,   0,   0,...
.  1,   1,   1,   1,   1,   1,   1,   1,   1,   1,...
.  1,   2,   3,   4,   5,   6,   7,   8,   9,  10,...
.  4,   5,   6,   7,   8,   9,  10,  11,  12,  13,...
.  4,   7,  10,  13,  16,  19,  22,  25,  28,  31,...
.  9,  12,  15,  18,  21,  24,  27,  30,  33,  36,...
.  9,  15,  21,  27,  33,  39,  45,  51,  57,  63,...
. 16,  22,  28,  34,  40,  46,  52,  58,  64,  70,...
. 16,  26,  36,  46,  56,  66,  76,  86,  96, 106,...
. 25,  35,  45,  55,  65,  75,  85,  95, 105, 115,...
. 25,  40,  55,  70,  85, 100, 115, 130, 145, 160,...
...
		

Crossrefs

Column 0 gives A008794, except its first term.

Formula

T(n,k) = (k+2)*n*(n+1)/8+(k-2)*((2*n+1)*(-1)^n-1)/16, n >= 0 and k >= 0. - Omar E. Pol, Oct 01 2011

A062728 Second 11-gonal (or hendecagonal) numbers: a(n) = n*(9*n+7)/2.

Original entry on oeis.org

0, 8, 25, 51, 86, 130, 183, 245, 316, 396, 485, 583, 690, 806, 931, 1065, 1208, 1360, 1521, 1691, 1870, 2058, 2255, 2461, 2676, 2900, 3133, 3375, 3626, 3886, 4155, 4433, 4720, 5016, 5321, 5635, 5958, 6290, 6631, 6981, 7340, 7708, 8085, 8471, 8866, 9270
Offset: 0

Views

Author

Floor van Lamoen, Jul 21 2001

Keywords

Comments

Old name: Write 0,1,2,3,4,... in a triangular spiral, then a(n) is the sequence found by reading the line from 0 in the direction 0,8,...
Sequence found by reading the line from 0, in the direction 0, 25, ... and the line from 8, in the direction 8, 51, ..., in the square spiral whose vertices are the generalized 11-gonal numbers A195160. - Omar E. Pol, Jul 24 2012

Examples

			The spiral begins:
          15
          / \
        16  14
        /     \
      17   3  13
      /   / \   \
    18   4   2  12
    /   /     \   \
  19   5   0---1  11
  /   /             \
20   6---7---8---9--10
		

Crossrefs

Cf. A051682.
Second n-gonal numbers: A005449, A014105, A147875, A045944, A179986, A033954, this sequence, A135705.

Programs

Formula

a(n) = n*(9*n+7)/2.
a(n) = 9*n + a(n-1) - 1 (with a(0)=0). - Vincenzo Librandi, Aug 07 2010
From Bruno Berselli, Jan 13 2011: (Start)
G.f.: x*(8 + x)/(1 - x)^3.
a(n) = Sum_{i=0..n-1} A017257(i) for n > 0. (End)
a(n) = A218470(9n+7). - Philippe Deléham, Mar 27 2013
E.g.f.: x*(16 + 9*x)*exp(x)/2. - G. C. Greubel, May 24 2019

Extensions

New name from Bruno Berselli (with the original formula), Jan 13 2011

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

A195851 Column 7 of array A195825. Also column 1 of triangle A195841. Also 1 together with the row sums of triangle A195841.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 4, 4, 4, 4, 4, 5, 7, 10, 12, 13, 13, 13, 13, 14, 16, 21, 27, 32, 34, 35, 35, 36, 38, 44, 54, 67, 77, 83, 85, 87, 89, 95, 107, 128, 152, 173, 185, 192, 196, 203, 216, 242, 281, 328, 367, 394, 409, 421, 436, 465
Offset: 0

Views

Author

Omar E. Pol, Oct 07 2011

Keywords

Comments

Note that this sequence contains four plateaus: [1, 1, 1, 1, 1, 1, 1, 1], [4, 4, 4, 4, 4, 4], [13, 13, 13, 13], [35, 35]. For more information see A210843 and other sequences of this family. - Omar E. Pol, Jun 29 2012

Crossrefs

Programs

  • Maple
    A195160 := proc(n)
            (18*n*(n+1)+5*(2*n+1)*(-1)^n-5)/16 ;
    end proc:
    A195841 := proc(n, k)
            option remember;
            local ks, a, j ;
            if A195160(k) > n then
                    0 ;
            elif n <= 5 then
                    return 1;
            elif k = 1 then
                    a := 0 ;
                    for j from 1 do
                            if A195160(j) <= n-1 then
                                    a := a+procname(n-1, j) ;
                            else
                                    break;
                            end if;
                    end do;
                    return a;
            else
                    ks := A195160(k) ;
                    (-1)^floor((k-1)/2)*procname(n-ks+1, 1) ;
            end if;
    end proc:
    A195851 := proc(n)
            A195841(n+1,1) ;
    end proc:
    seq(A195851(n), n=0..60) ; # R. J. Mathar, Oct 08 2011

Formula

G.f.: Product_{k>=1} 1/((1 - x^(9*k))*(1 - x^(9*k-1))*(1 - x^(9*k-8))). - Ilya Gutkovskiy, Aug 13 2017
a(n) ~ exp(Pi*sqrt(2*n)/3) / (8*sin(Pi/9)*n). - Vaclav Kotesovec, Aug 14 2017

A211970 Square array read by antidiagonal: T(n,k), n >= 0, k >= 0, which arises from a generalization of Euler's Pentagonal Number Theorem.

Original entry on oeis.org

1, 1, 1, 2, 1, 1, 4, 2, 1, 1, 6, 3, 1, 1, 1, 10, 5, 2, 1, 1, 1, 16, 7, 3, 1, 1, 1, 1, 24, 11, 4, 2, 1, 1, 1, 1, 36, 15, 5, 3, 1, 1, 1, 1, 1, 54, 22, 7, 4, 2, 1, 1, 1, 1, 1, 78, 30, 10, 4, 3, 1, 1, 1, 1, 1, 1, 112, 42, 13, 5, 4, 2, 1, 1, 1, 1, 1, 1
Offset: 0

Views

Author

Omar E. Pol, Jun 10 2012

Keywords

Comments

In the infinite square array if k is positive then column k is related to the generalized m-gonal numbers, where m = k+4. For example: column 1 is related to the generalized pentagonal numbers A001318. Column 2 is related to the generalized hexagonal numbers A000217 (note that A000217 is also the entry for the triangular numbers). And so on...
In the following table Euler's Pentagonal Number Theorem is represented by the entries A001318, A195310, A175003 and A000041. It seems unusual that the partition numbers are located in a middle column (see below row 1 of the table):
========================================================
. Column k of
. this square
. Generalized Triangle Triangle array A211970
k m m-gonal "A" "B" [row sums of
. numbers triangle "B"
. (if k>=1) with a(0)=1,
. if k >= 0]
========================================================
...
It appears that column 2 of the square array is A006950.
It appears that column 3 of the square array is A036820.
The partial sums of column 0 give A015128. - Omar E. Pol, Feb 09 2014

Examples

			Array begins:
1,     1,   1,   1,   1,   1,  1,  1,  1,  1,  1, ...
1,     1,   1,   1,   1,   1,  1,  1,  1,  1,  1, ...
2,     2,   1,   1,   1,   1,  1,  1,  1,  1,  1, ...
4,     3,   2,   1,   1,   1,  1,  1,  1,  1,  1, ...
6,     5,   3,   2,   1,   1,  1,  1,  1,  1,  1, ...
10,    7,   4,   3,   2,   1,  1,  1,  1,  1,  1, ...
16,   11,   5,   4,   3,   2,  1,  1,  1,  1,  1, ...
24,   15,   7,   4,   4,   3,  2,  1,  1,  1,  1, ...
36,   22,  10,   5,   4,   4,  3,  2,  1,  1,  1, ...
54,   30,  13,   7,   4,   4,  4,  3,  2,  1,  1, ...
78,   42,  16,  10,   5,   4,  4,  4,  3,  2,  1, ...
112,  56,  21,  12,   7,   4,  4,  4,  4,  3,  2, ...
160,  77,  28,  14,  10,   5,  4,  4,  4,  4,  3, ...
224, 101,  35,  16,  12,   7,  4,  4,  4,  4,  4, ...
312, 135,  43,  21,  13,  10,  5,  4,  4,  4,  4, ...
432, 176,  55,  27,  14,  12,  7,  4,  4,  4,  4, ...
...
		

Crossrefs

For another version see A195825.

Formula

T(n,k) = A211971(n), if k = 0.
T(n,k) = A195825(n,k), if k >= 1.

A195321 a(n) = 18*n^2.

Original entry on oeis.org

0, 18, 72, 162, 288, 450, 648, 882, 1152, 1458, 1800, 2178, 2592, 3042, 3528, 4050, 4608, 5202, 5832, 6498, 7200, 7938, 8712, 9522, 10368, 11250, 12168, 13122, 14112, 15138, 16200, 17298, 18432, 19602, 20808, 22050, 23328, 24642, 25992, 27378, 28800, 30258, 31752
Offset: 0

Views

Author

Omar E. Pol, Sep 16 2011

Keywords

Comments

Sequence found by reading the line from 0, in the direction 0, 18, ..., in the square spiral whose vertices are the generalized hendecagonal numbers A195160. Semi-axis opposite to A195316 in the same spiral.
Area of a square with diagonal 6n. - Wesley Ivan Hurt, Jun 19 2014
Number of identical tessellation tiles that are composed of 48 equilateral edge joined triangles that can be formed into a order n hexagon. The example tiles shown in the link below are tessellated with eight sphinx tiles. See A291582. - Craig Knecht, Sep 02 2017

Crossrefs

Programs

Formula

a(n) = 18*A000290(n) = 9*A001105(n) = 6*A033428(n) = 3*A033581(n) = 2*A016766(n).
G.f.: 18*x*(1+x)/(1-x)^3. - Wesley Ivan Hurt, Jun 20 2014
From Elmo R. Oliveira, Dec 01 2024: (Start)
E.g.f.: 18*x*(1 + x)*exp(x).
a(n) = n*A008600(n) = A195147(2*n).
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 2. (End)

A195316 Centered 36-gonal numbers.

Original entry on oeis.org

1, 37, 109, 217, 361, 541, 757, 1009, 1297, 1621, 1981, 2377, 2809, 3277, 3781, 4321, 4897, 5509, 6157, 6841, 7561, 8317, 9109, 9937, 10801, 11701, 12637, 13609, 14617, 15661, 16741, 17857, 19009, 20197, 21421, 22681, 23977, 25309, 26677, 28081, 29521, 30997, 32509
Offset: 1

Views

Author

Omar E. Pol, Sep 16 2011

Keywords

Comments

Sequence found by reading the line from 1, in the direction 1, 37, ..., in the square spiral whose vertices are the generalized hendecagonal numbers A195160. Semi-axis opposite to A195321 in the same spiral.

Crossrefs

Programs

Formula

a(n) = 18*n^2 - 18*n + 1.
G.f.: -x*(1 + 34*x + x^2)/(x-1)^3. - R. J. Mathar, Sep 18 2011
Sum_{n>=1} 1/a(n) = Pi*tan(sqrt(7)*Pi/6)/(6*sqrt(7)). - Amiram Eldar, Feb 11 2022
From Elmo R. Oliveira, Nov 14 2024: (Start)
E.g.f.: exp(x)*(18*x^2 + 1) - 1.
a(n) = 2*A069131(n) - 1.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 3. (End)

A316672 Numbers k for which 120*k + 169 is a square.

Original entry on oeis.org

-1, 0, 1, 3, 10, 14, 17, 22, 36, 43, 48, 56, 77, 87, 94, 105, 133, 146, 155, 169, 204, 220, 231, 248, 290, 309, 322, 342, 391, 413, 428, 451, 507, 532, 549, 575, 638, 666, 685, 714, 784, 815, 836, 868, 945, 979, 1002, 1037, 1121, 1158, 1183, 1221, 1312, 1352, 1379, 1420
Offset: 1

Views

Author

Bruno Berselli, Jul 10 2018

Keywords

Comments

All terms of A303305 belong to this sequence.

Crossrefs

Subsequence of A047283.
Cf. Numbers k for which 8*(2*h+1)*k + (2*h-1)^2 is a square: A000217 (h=0), A001318 (h=1), A085787 (h=2), A118277 (h=3), A195160 (h=4), A195313 (h=5), A277082 (h=6), this sequence (h=7), A303813 (h=8), A303298 (h=9); A303815 (h=13).

Programs

  • Magma
    [k: k in [0..1500] | IsSquare(120*k+169)];
    
  • Maple
    select(k->issqr(120*k+169),[$-1..1500]); # Muniru A Asiru, Jul 10 2018
  • Mathematica
    LinearRecurrence[{1, 0, 0, 2, -2, 0, 0, -1, 1}, {-1, 0, 1, 3, 10, 14, 17, 22, 36}, 60]
  • PARI
    isok(n) = issquare(120*n+169); \\ Michel Marcus, Jul 11 2018
    
  • PARI
    Vec(x*(-1 + x + x^2 + 2*x^3 + 9*x^4 + 2*x^5 + x^6 + x^7 - x^8)/((1 + x)^2*(1 - x)^3*(1 + x^2)^2) + O(x^40)) \\ Colin Barker, Jul 18 2018
  • Sage
    print([k for k in (0..1500) if is_square(120*k+169)])
    

Formula

O.g.f.: x*(-1 + x + x^2 + 2*x^3 + 9*x^4 + 2*x^5 + x^6 + x^7 - x^8)/((1 + x)^2*(1 - x)^3*(1 + x^2)^2).
a(n) = a(1-n) = a(n-1) + 2*a(n-4) - 2*a(n-5) - a(n-8) + a(n-9).
a(n) = (30*n^2 - 2*(15 + 3*(-1)^n + 10*i^(n*(n+1)))*n + 2*(5 + (-1)^n)*i^(n*(n+1)) + 3*(-1)^n - 79)/64, with i = sqrt(-1). Therefore:
a(4*k+1) = (3*k + 2)*(5*k - 1)/2;
a(4*k+2) = k*(15*k + 13)/2, first bisection of A303305;
a(4*k+3) = (k + 1)*(15*k + 2)/2, second bisection of A303305 (see A051869);
a(4*k+4) = (3*k + 1)*(5*k + 6)/2.

A210981 A062725 and positive terms of A051682 interleaved.

Original entry on oeis.org

0, 1, 7, 11, 23, 30, 48, 58, 82, 95, 125, 141, 177, 196, 238, 260, 308, 333, 387, 415, 475, 506, 572, 606, 678, 715, 793, 833, 917, 960, 1050, 1096, 1192, 1241, 1343, 1395, 1503, 1558, 1672, 1730, 1850, 1911, 2037, 2101, 2233, 2300, 2438, 2508, 2652, 2725, 2875, 2951, 3107, 3186, 3348
Offset: 0

Views

Author

Omar E. Pol, Aug 03 2012

Keywords

Comments

Vertex number of a square spiral similar to A195160.

Crossrefs

Members of this family are A093005, A210977, A006578, A210978, A181995, this sequence, A210982.

Programs

  • Mathematica
    LinearRecurrence[{1,2,-2,-1,1},{0,1,7,11,23},70] (* Harvey P. Dale, Jun 29 2023 *)

Formula

G.f.: -x*(1+6*x+2*x^2) / ( (1+x)^2*(x-1)^3 ). - R. J. Mathar, Aug 07 2012
a(n) = ( 18*n^2+14*n-5+(6*n+5)*(-1)^n )/16. - Luce ETIENNE, Oct 14 2014

A157889 a(n) = 18*n^2 + 1.

Original entry on oeis.org

19, 73, 163, 289, 451, 649, 883, 1153, 1459, 1801, 2179, 2593, 3043, 3529, 4051, 4609, 5203, 5833, 6499, 7201, 7939, 8713, 9523, 10369, 11251, 12169, 13123, 14113, 15139, 16201, 17299, 18433, 19603, 20809, 22051, 23329, 24643, 25993, 27379, 28801, 30259, 31753
Offset: 1

Views

Author

Vincenzo Librandi, Mar 08 2009

Keywords

Comments

The identity (18n^2 + 1)^2 - (81n^2 + 9)*(2n)^2 = 1 can be written as a(n)^2 - A157888(n)*A005843(n+1)^2 = 1. - Vincenzo Librandi, Feb 05 2012
Sequence found by reading the line from 19, in the direction 19, 73, ... in the square spiral whose vertices are the generalized 11-gonal numbers A195160. - Omar E. Pol, Nov 05 2012

Crossrefs

Programs

  • Magma
    I:=[19, 73, 163]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+Self(n-3): n in [1..50]]; // Vincenzo Librandi, Feb 05 2012
    
  • Mathematica
    LinearRecurrence[{3, -3, 1}, {19, 73, 163}, 40] (* Vincenzo Librandi, Feb 05 2012 *)
  • PARI
    for(n=1, 40, print1(18n^2 + 1", ")); \\ Vincenzo Librandi, Feb 05 2012

Formula

From Vincenzo Librandi, Feb 05 2012: (Start)
G.f: x*(19 + 16*x + x^2)/(1-x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). (End)
From Amiram Eldar, Mar 07 2023: (Start)
Sum_{n>=1} 1/a(n) = (coth(Pi/(3*sqrt(2)))*Pi/(3*sqrt(2)) - 1)/2.
Sum_{n>=1} (-1)^(n+1)/a(n) = (1 - cosech(Pi/(3*sqrt(2)))*Pi/(3*sqrt(2)))/2. (End)
Previous Showing 31-40 of 47 results. Next