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

A117560 a(n) = n*(n^2 - 1)/2 - 1.

Original entry on oeis.org

2, 11, 29, 59, 104, 167, 251, 359, 494, 659, 857, 1091, 1364, 1679, 2039, 2447, 2906, 3419, 3989, 4619, 5312, 6071, 6899, 7799, 8774, 9827, 10961, 12179, 13484, 14879, 16367, 17951, 19634, 21419, 23309, 25307, 27416, 29639, 31979, 34439, 37022, 39731, 42569
Offset: 2

Views

Author

Joseph Biberstine (jrbibers(AT)indiana.edu), Mar 29 2006

Keywords

Comments

a(n-1) is an approximation for the lower bound of the "antimagic constant" of an antimagic square of order n. The antimagic constant here is defined as the least integer in the set of consecutive integers to which the rows, columns and diagonals of the square sum. By analogy with the magic constant. This approximation follows from the observation that (2*Sum_{k=1..n^2} k) + (m) + (m+1) <= Sum_{k=0..2*n+1} (m + k) where m is the antimagic constant for an antimagic square of order n. a(n) = A027480(n+1) - 1. Stricter bounds seem likely to exist. See A117561 for the upper bounds. Note there exist no antimagic squares of order two or three, but the values are indexed here for completeness.

Examples

			a(3) = 29 because the antimagic constant of an antimagic square of order 4 must be at least 29 (see comments).
		

Crossrefs

Programs

  • Magma
    [n*(n^2-1)/2 - 1: n in [2..50]]; // Vincenzo Librandi, Jun 20 2011
  • Mathematica
    Table[n*(n^2-1)/2 - 1, {n, 2, 50}]

Formula

a(n) = n*(n^2 - 1)/2 - 1.
G.f.: x^2*(2 + 3*x - 3*x^2 + x^3)/(1-x)^4. - Colin Barker, Mar 29 2012
From Elmo R. Oliveira, Aug 19 2025: (Start)
E.g.f.: 1 + x + (1 + x)*(-2 + 2*x + x^2)*exp(x)/2.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) for n >= 6. (End)

A049526 Number of possible sets {{row sums}, {column sums}} of a 2n X 2n matrix with entries from {0,1,-1} and all row and column sums distinct.

Original entry on oeis.org

2, 6, 22, 94, 458, 2512, 15354, 103436, 758848
Offset: 1

Views

Author

Keywords

Comments

It is known that such matrices of size (2n+1) X (2n+1) do not exist.

Crossrefs

A049527 Number of possible sets {{row sums},{column sums}} of an n X n+1 matrix with entries from {0,1,-1} and all row and column sums distinct.

Original entry on oeis.org

1, 2, 3, 6, 10, 22, 39, 94, 174, 464, 886, 2610
Offset: 1

Views

Author

Keywords

Crossrefs

A117561 a(n) = floor(n*(n^3-n-3)/(2*(n-1))).

Original entry on oeis.org

3, 15, 38, 73, 124, 194, 286, 403, 548, 724, 934, 1181, 1468, 1798, 2174, 2599, 3076, 3608, 4198, 4849, 5564, 6346, 7198, 8123, 9124, 10204, 11366, 12613, 13948, 15374, 16894, 18511, 20228, 22048, 23974, 26009, 28156, 30418, 32798, 35299, 37924
Offset: 2

Views

Author

Joseph Biberstine (jrbibers(AT)indiana.edu), Mar 29 2006

Keywords

Comments

a[n-1] is one approximation for the upper bound of the "antimagic constant" of an antimagic square of order n. The antimagic constant here is defined as the least integer in the set of consecutive integers to which the rows, columns and diagonals of the square sum. By analogy with the magic constant. This approximation follows from the observation that Sum[m + k, {k, 0, 2*n + 1}] <= (2*Sum[k, {k, 1, n^2}]) + (2*m) + (2*m + 1) where m is the antimagic constant for an antimagic square of order n. Stricter bounds seem likely to exist. See A117560 for the lower bounds. Note there exist no antimagic squares of order two or three, but the values are indexed here for completeness.

Examples

			a[3] = 38 because the antimagic constant of an antimagic square of order 4 cannot exceed 38 (see comments)
		

Crossrefs

Programs

  • Mathematica
    Table[Floor[n(n^3-n-3)/(2*(n-1))], {n, 2, 50}]

Formula

a(n) = floor(n*(n^3-n-3)/(2*(n-1))).
G.f.: x^2*(3+3*x-4*x^2-x^3+3*x^4-x^5)/(1-x)^4. - Colin Barker, Mar 29 2012
Showing 1-4 of 4 results.