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

A139592 A033585(n) followed by A139271(n+1).

Original entry on oeis.org

0, 2, 10, 20, 36, 54, 78, 104, 136, 170, 210, 252, 300, 350, 406, 464, 528, 594, 666, 740, 820, 902, 990, 1080, 1176, 1274, 1378, 1484, 1596, 1710, 1830, 1952, 2080, 2210, 2346, 2484, 2628, 2774, 2926, 3080, 3240, 3402, 3570, 3740
Offset: 0

Views

Author

Omar E. Pol, May 03 2008

Keywords

Comments

Sequence found by reading the line from 0, in the direction 0, 2,... and the same line from 0, in the direction 0, 10,..., in the square spiral whose vertices are the triangular numbers A000217.
a(n) = 2*A006578(n) - A002378(n)/2 = 2*A035608(n). [From Reinhard Zumkeller, Feb 07 2010]

Examples

			Array begins:
0, 2
10, 20
36, 54
78, 104
		

Crossrefs

Formula

Array read by rows: row n gives 8*n^2 + 2n, 8*(n+1)^2 - 6(n+1).
a(n) = 2*floor((n + 1/4)^2). [From Reinhard Zumkeller, Feb 07 2010]
G.f.: 2*x*(1+3*x)/((1-x)^3*(1+x)). [Colin Barker, Apr 26 2012]

A139593 A139276(n) followed by A139272(n+1).

Original entry on oeis.org

0, 3, 11, 22, 38, 57, 81, 108, 140, 175, 215, 258, 306, 357, 413, 472, 536, 603, 675, 750, 830, 913, 1001, 1092, 1188, 1287, 1391, 1498, 1610, 1725, 1845, 1968, 2096, 2227, 2363, 2502, 2646, 2793, 2945, 3100, 3260, 3423, 3591, 3762
Offset: 0

Views

Author

Omar E. Pol, May 03 2008

Keywords

Comments

Sequence found by reading the line from 0, in the direction 0, 3, ... and the same line from 0, in the direction 0, 11, ..., in the square spiral whose vertices are the triangular numbers A000217.
A139593 appears (both numerically and via back of an envelope algebra, but not a publishable proof) to be the cumulative sum of A047470. - Markus J. Q. Roberts, Jul 12 2009

Examples

			Array begins:
   0,   3;
  11,  22;
  38,  57;
  81, 108;
		

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{2,0,-2,1},{0,3,11,22},50] (* Harvey P. Dale, Feb 09 2019 *)

Formula

Array read by rows: row n gives 8*n^2 + 3n, 8*(n+1)^2 - 5(n+1).
From Colin Barker, Sep 15 2013: (Start)
a(n) = (-1 + (-1)^n + 6*n + 8*n^2)/4.
a(n) = 2*a(n-1) - 2*a(n-3) + a(n-4).
G.f.: -x*(5*x+3) / ((x-1)^3*(x+1)). (End)

Extensions

Edited by Omar E. Pol, Jul 13 2009

A139596 A033587(n) followed by even hexagonal number A014635(n+1).

Original entry on oeis.org

0, 6, 14, 28, 44, 66, 90, 120, 152, 190, 230, 276, 324, 378, 434, 496, 560, 630, 702, 780, 860, 946, 1034, 1128, 1224, 1326, 1430, 1540, 1652, 1770, 1890, 2016, 2144, 2278, 2414, 2556, 2700, 2850, 3002, 3160, 3320, 3486, 3654, 3828
Offset: 0

Views

Author

Omar E. Pol, May 03 2008

Keywords

Comments

Sequence found by reading the line from 0, in the direction 0, 6,... and the same line from 0, in the direction 0, 14,..., in the square spiral whose vertices are the triangular numbers A000217.

Examples

			Array begins:
0, 6
14, 28
44, 66
90, 120
		

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{2,0,-2,1},{0,6,14,28},50] (* Harvey P. Dale, Jan 20 2024 *)

Formula

Array read by rows: row n gives 8*n^2 + 6*n, 8*(n+1)^2 - 2(n+1).
O.g.f.: -2*x*(x+3)/((x-1)^3*(1+x)). - R. J. Mathar, May 06 2008
a(n) = 2*A156859(n). - R. J. Mathar, Feb 28 2018

A139598 A035008(n) followed by A139098(n+1).

Original entry on oeis.org

0, 8, 16, 32, 48, 72, 96, 128, 160, 200, 240, 288, 336, 392, 448, 512, 576, 648, 720, 800, 880, 968, 1056, 1152, 1248, 1352, 1456, 1568, 1680, 1800, 1920, 2048, 2176, 2312, 2448, 2592, 2736, 2888, 3040, 3200, 3360, 3528, 3696, 3872
Offset: 0

Views

Author

Omar E. Pol, May 03 2008

Keywords

Comments

Sequence found by reading the line from 0, in the direction 0, 8, ... and the line from 16, in the direction 16, 48, ..., in the square spiral whose vertices are the triangular numbers A000217.
Also represents the minimum number of segments in the smooth Jordan curve which crosses every edge of an n X n square lattice exactly once. For example, the curve for a 3 X 3 lattice would have at least 32 segments. - Nikolas Novakovic, Aug 28 2022

Examples

			Array begins:
   0,   8;
  16,  32;
  48,  72;
  96, 128;
		

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{2,0,-2,1},{0,8,16,32},50] (* Harvey P. Dale, Sep 27 2019 *)

Formula

Array read by rows: row n gives 8*n^2 + 8*n, 8*(n+1)^2.
From Colin Barker, Jul 22 2012: (Start)
a(n) = (1 - (-1)^n + 4*n + 2*n^2).
a(n) = 2*a(n-1) - 2*a(n-3) + a(n-4).
G.f.: 8*x/((1-x)^3*(1+x)). (End)
a(n) = 8*A002620(n+1). - R. J. Mathar, May 04 2014

A139591 A139275(n) followed by 18-gonal number A051870(n+1).

Original entry on oeis.org

0, 1, 9, 18, 34, 51, 75, 100, 132, 165, 205, 246, 294, 343, 399, 456, 520, 585, 657, 730, 810, 891, 979, 1068, 1164, 1261, 1365, 1470, 1582, 1695, 1815, 1936, 2064, 2193, 2329, 2466, 2610, 2755, 2907, 3060, 3220, 3381, 3549, 3718, 3894, 4071, 4255, 4440, 4632
Offset: 0

Views

Author

Omar E. Pol, May 03 2008

Keywords

Comments

Sequence found by reading the line from 0, in the direction 0, 9, ... and the line from 1, in the direction 1, 18, ..., in the square spiral whose vertices are the triangular numbers A000217.

Examples

			Array begins:
   0,   1;
   9,  18;
  34,  51;
  75, 100;
  ...
		

Crossrefs

Formula

Array read by rows: row n gives 8*n^2 + n, 8*(n+1)^2 - 7*(n+1).
G.f.: -x*(7*x+1)/((x-1)^3*(x+1)). - Colin Barker, Oct 16 2012
a(n) = 2*n^2 + (7/2)*n + (3/4)*((-1)^n-1). - Sean A. Irvine, Jul 14 2022

A139597 A139278(n) followed by A139274(n+1).

Original entry on oeis.org

0, 7, 15, 30, 46, 69, 93, 124, 156, 195, 235, 282, 330, 385, 441, 504, 568, 639, 711, 790, 870, 957, 1045, 1140, 1236, 1339, 1443, 1554, 1666, 1785, 1905, 2032, 2160, 2295, 2431, 2574, 2718, 2869, 3021, 3180, 3340, 3507, 3675, 3850
Offset: 0

Views

Author

Omar E. Pol, May 03 2008

Keywords

Comments

Sequence found by reading the line from 0, in the direction 0, 7,... and the line from 15, in the direction 15, 46,..., in the square spiral whose vertices are the triangular numbers A000217.

Examples

			Array begins:
0, 7
15, 30
46, 69
93, 124
		

Crossrefs

Formula

Array read by rows: row n gives 8*n^2 + 7n, 8*(n+1)^2 - (n+1).
a(n) = (3-3*(-1)^n+14*n+8*n^2)/4. a(n) = 2*a(n-1)-2*a(n-3)+a(n-4). G.f.: x*(7+x)/((1-x)^3*(1+x)). [Colin Barker, Jul 22 2012]
Showing 1-6 of 6 results.