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

A187989 Number of nondecreasing arrangements of 5 numbers x(i) in -(n+3)..(n+3) with the sum of sign(x(i))*2^|x(i)| zero.

Original entry on oeis.org

36, 57, 82, 111, 144, 181, 222, 267, 316, 369, 426, 487, 552, 621, 694, 771, 852, 937, 1026, 1119, 1216, 1317, 1422, 1531, 1644, 1761, 1882, 2007, 2136, 2269, 2406, 2547, 2692, 2841, 2994, 3151, 3312, 3477, 3646, 3819, 3996, 4177, 4362, 4551, 4744, 4941
Offset: 1

Views

Author

R. H. Hardin, Mar 18 2011

Keywords

Examples

			Some solutions for n=3:
  -6  -4  -4  -6  -4  -3  -4  -3  -6  -3  -3  -6  -4  -5  -5  -1
  -1  -4  -4  -3  -1  -2  -3   0  -5  -3  -3  -1   1  -4  -2  -1
  -1  -4  -3   3   1  -2  -3   0   5  -2  -3   1   1   3  -2  -1
   2  -4   3   5   3   3   4   1   5   2  -3   5   2   3   3   1
   6   6   5   5   3   3   4   2   5   4   5   5   3   5   5   2
		

Crossrefs

Row 5 of A187988.

Programs

  • Mathematica
    AatE[n_, nminusfE_, E_] := AatE[n, nminusfE, E] = Module[{a, fEminus, fEplus, f0, resn}, If[E == 0, If[n == 0, 1, 0], a = 0; For[fEminus = 0, fEminus <= nminusfE, fEminus++, For[fEplus = 0, fEplus <= nminusfE - fEminus, fEplus++, f0 = nminusfE - fEminus - fEplus; resn = n - (2^E + 1)*fEminus + (2^E - 1)*fEplus; If[Abs[resn] <= (1 + 2^(E - 1))*f0, a = a + AatE[resn, f0, E - 1]]]]; a]];
    T[n_, k_] := AatE[n, n, n + k - 2];
    Table[T[5, k], {k, 1, 86}] (* Jean-François Alcover, Sep 18 2024, after R. J. Mathar in A187988 *)

Extensions

a(28) corrected by R. J. Mathar, May 09 2023

A187990 Number of nondecreasing arrangements of 6 numbers x(i) in -(n+4)..(n+4) with the sum of sign(x(i))*2^|x(i)| zero.

Original entry on oeis.org

67, 117, 181, 260, 355, 467, 597, 746, 915, 1105, 1317, 1552, 1811, 2095, 2405, 2742, 3107, 3501, 3925, 4380, 4867, 5387, 5941, 6530, 7155, 7817, 8517, 9256, 10035, 10855, 11717, 12622, 13571, 14565, 15605, 16692, 17827, 19011, 20245, 21530, 22867, 24257
Offset: 0

Views

Author

R. H. Hardin, Mar 18 2011

Keywords

Examples

			Some solutions for n=3
 -2   -5   -6   -5   -7   -6   -4   -4   -6   -5   -7   -6   -3   -6   -3   -7
 -1   -4   -5   -1   -6   -3   -3   -2   -6   -4   -3   -6   -3   -3   -3   -5
  0   -4    4   -1    5   -2   -3   -1   -5   -1    1    5   -3   -3   -2   -3
  0    4    4    2    5   -2   -1   -1    4    1    1    5    2    3    1    3
  1    4    5    4    6    4    1    3    4    4    2    5    2    3    1    5
  1    5    5    4    6    6    5    4    7    5    7    5    4    6    4    7
		

Crossrefs

Row 6 of A187988.

Formula

a(n) = (n^3 + 39*n^2 + 260*n + 402)/6. - Manuel Kauers and Christoph Koutschan, Mar 01 2023
G.f.: -(-67+151*x-115*x^2+30*x^3)/(x-1)^4. - R. J. Mathar, Apr 30 2023

Extensions

a(27) corrected by Manuel Kauers and Christoph Koutschan, Mar 01 2023

A187979 Number of nondecreasing arrangements of n numbers x(i) in -(2n-2)..(2n-2) with the sum of sign(x(i))*2^|x(i)| zero.

Original entry on oeis.org

0, 2, 7, 30, 144, 597, 2742, 12148, 54696, 247482, 1120330, 5099759, 23249035, 106285418, 486878283, 2234333944, 10271022863, 47283130811, 217962771486, 1005958652638, 4647869260260, 21496269109425, 99510938004788, 461047642206301, 2137763442289891, 9919444208575431, 46058149007746511, 213991712768042425, 994811217776431456, 4627232005483362687
Offset: 1

Views

Author

R. H. Hardin, Mar 18 2011

Keywords

Examples

			All solutions for n=3
.-1...-3...-4...-3...-1...-2...-2
.-1....2....3...-3....0....1...-2
..2....2....3....4....0....1....3
		

Crossrefs

Main diagonal of A187988.

Programs

  • Mathematica
    AatE[n_, nminusfE_, E_] := AatE[n, nminusfE, E] = Module[{a, fEminus, fEplus, f0, resn}, If[E == 0, If[n == 0, 1, 0], a = 0; For[fEminus = 0, fEminus <= nminusfE, fEminus++, For[fEplus = 0, fEplus <= nminusfE - fEminus, fEplus++, f0 = nminusfE - fEminus - fEplus; resn = n - (2^E + 1)*fEminus + (2^E - 1)*fEplus; If[Abs[resn] <= (1 + 2^(E - 1))*f0, a = a + AatE[resn, f0, E - 1]]]]; a]];
    a[n_] := a[n] = AatE[n, n, 2 n - 2];
    Table[Print[n, " ", a[n]]; a[n], {n, 1, 30}] (* Jean-François Alcover, Sep 18 2024, after R. J. Mathar in A187988 *)

Extensions

a(10)-a(30) from Jean-François Alcover, Sep 18 2024

A187980 Number of nondecreasing arrangements of n numbers x(i) in -(n-1)..(n-1) with the sum of sign(x(i))*2^|x(i)| zero.

Original entry on oeis.org

0, 1, 3, 9, 36, 117, 411, 1452, 5040, 17829, 62870, 222458, 789895, 2808018, 10006020, 35713288, 127657287, 456975112, 1637845137, 5876993799, 21110257429, 75900966585, 273140226328, 983733709424, 3545658087397, 12788512426396, 46155740640489, 166684398100813, 602296651467057, 2177492178467267, 7876245417001355
Offset: 1

Views

Author

R. H. Hardin, Mar 18 2011

Keywords

Examples

			All solutions for n=3:
.-1...-2...-1
.-1....1....0
..2....1....0
		

Crossrefs

Column 1 of A187988.

Programs

  • Mathematica
    AatE[n_, nminusfE_, E_] := AatE[n, nminusfE, E] = Module[{a, fEminus, fEplus, f0, resn}, If[E == 0, If[n == 0, 1, 0], a = 0; For[fEminus = 0, fEminus <= nminusfE, fEminus++, For[fEplus = 0, fEplus <= nminusfE - fEminus, fEplus++, f0 = nminusfE - fEminus - fEplus; resn = n - (2^E + 1)*fEminus + (2^E - 1)*fEplus; If[Abs[resn] <= (1 + 2^(E - 1))*f0, a = a + AatE[resn, f0, E - 1]]]]; a]];
    T[n_, k_] := AatE[n, n, n + k - 2];
    Table[T[n, 1], {n, 1, 31}] (* Jean-François Alcover, Sep 18 2024, after R. J. Mathar in A187988 *)

Extensions

More terms from R. J. Mathar, May 11 2023

A187981 Number of nondecreasing arrangements of n numbers x(i) in -n..n with the sum of sign(x(i))*2^|x(i)| zero.

Original entry on oeis.org

0, 2, 5, 15, 57, 181, 632, 2199, 7593, 26706, 93724, 330555, 1170088, 4149361, 14754670, 52564714, 187595025, 670589799, 2400467901, 8603906865, 30874479617, 110907636467, 398789645747, 1435195800184, 5169318396770, 18633022691923, 67210498566801, 242590233305619, 876138147816208, 3166048659124955, 11447024096561941, 41407915745717488
Offset: 1

Views

Author

R. H. Hardin, Mar 18 2011

Keywords

Examples

			All solutions for n=3:
.-1...-2...-3...-2...-1
..0....1....2...-2...-1
..0....1....2....3....2
		

Crossrefs

Column 2 of A187988.

Extensions

More terms from R. J. Mathar, May 11 2023

A187982 Number of nondecreasing arrangements of n numbers x(i) in -(n+1)..(n+1) with the sum of sign(x(i))*2^|x(i)| zero.

Original entry on oeis.org

0, 3, 7, 22, 82, 260, 912, 3158, 10920, 38385, 134652, 474953, 1680801, 5960094, 21192029, 75492493, 269409262, 963003740, 3447075784, 12354841859, 44333177653, 159250306113, 572602762173, 2060689223094, 7422109110741, 26752896159623, 96498088175421, 348296867524920, 1257893866073062, 4545530514677703, 16434464166065112
Offset: 1

Views

Author

R. H. Hardin, Mar 18 2011

Keywords

Examples

			Some solutions for n=4:
.-5...-3...-5...-4...-4...-4...-5...-4...-5...-4...-3...-3...-2...-3...-2...-5
.-5...-2...-2...-4...-3...-3...-4...-1...-1....2....1...-1...-1...-2....0...-3
..5...-2....2....4....3...-3....4....1....1....2....1....1....1....2....0....3
..5....4....5....4....4....5....5....4....5....3....2....3....2....3....1....5
		

Crossrefs

Column 3 of A187988.

Extensions

More terms from R. J. Mathar, May 11 2023

A187983 Number of nondecreasing arrangements of n numbers x(i) in -(n+2)..(n+2) with the sum of sign(x(i))*2^|x(i)| zero.

Original entry on oeis.org

0, 4, 9, 30, 111, 355, 1257, 4357, 15146, 53379, 187699, 663631, 2352610, 8356208, 29754352, 106127185, 379166226, 1356700796, 4860763378, 17436188166, 62613987171, 225072940410, 809789751003, 2915986488761, 10508369260118, 37896284981596, 136756217644237, 493817776063606
Offset: 1

Views

Author

R. H. Hardin, Mar 18 2011

Keywords

Examples

			All solutions for n=3
.-2...-3...-4...-1...-1...-4...-5...-2...-3
.-2...-3....3...-1....0...-4....4....1....2
..3....4....3....2....0....5....4....1....2
		

Crossrefs

Column 4 of A187988.

Extensions

Terms from a(16) on by R. J. Mathar, May 17 2023

A187984 Number of nondecreasing arrangements of n numbers x(i) in -(n+3)..(n+3) with the sum of sign(x(i))*2^|x(i)| zero.

Original entry on oeis.org

0, 5, 11, 39, 144, 467, 1673, 5825, 20404, 72246, 255137, 905611, 3220635, 11472797, 40956011, 146412581, 524169045, 1878990744, 6743276222, 24225861208, 87117117408, 313552816720, 1129460906243, 4071526431770, 14687417557462, 53016891233217, 191489301052386, 692020548649474, 2502200138127277, 9051895373199102, 32761105883346693
Offset: 1

Views

Author

R. H. Hardin, Mar 18 2011

Keywords

Examples

			All solutions for n=3:
.-5...-6...-1...-2...-4...-4...-1...-3...-5...-3...-2
.-5....5...-1...-2...-4....3....0....2....4...-3....1
..6....5....2....3....5....3....0....2....4....4....1
		

Crossrefs

Column 5 of A187988.

Extensions

Terms from a(16) on by R. J. Mathar, May 17 2023

A187985 Number of nondecreasing arrangements of n numbers x(i) in -(n+4)..(n+4) with the sum of sign(x(i))*2^|x(i)| zero.

Original entry on oeis.org

0, 6, 13, 49, 181, 597, 2166, 7592, 26835, 95590, 339475, 1211024, 4324913, 15465952, 55398468, 198646230, 713134270, 2562757415, 9218114300, 33185957425, 119566240848, 431102833455, 1555423251527, 5615525795887, 20285623430206, 73320521305274, 265147098624058, 959309368316993, 3472389521265649
Offset: 1

Views

Author

R. H. Hardin, Mar 18 2011

Keywords

Examples

			All solutions for n=3
.-7...-5...-2...-4...-3...-6...-2...-3...-1...-1...-6...-5...-4
..6....4...-2...-4...-3...-6....1....2...-1....0....5...-5....3
..6....4....3....5....4....7....1....2....2....0....5....6....3
		

Crossrefs

Column 6 of A187988.

Extensions

Terms from a(14) on from R. J. Mathar, May 17 2023

A187991 Number of nondecreasing arrangements of 7 numbers x(i) in -(n+5)..(n+5) with the sum of sign(x(i))*2^|x(i)| zero.

Original entry on oeis.org

411, 632, 912, 1257, 1673, 2166, 2742, 3407, 4167, 5028, 5996, 7077, 8277, 9602, 11058, 12651, 14387, 16272, 18312, 20513, 22881, 25422, 28142, 31047, 34143, 37436, 40932, 44637, 48557, 52698
Offset: 1

Views

Author

R. H. Hardin, Mar 18 2011

Keywords

Comments

Row 7 of A187988.

Examples

			Some solutions for n=3:
  -7  -8  -7  -1  -6  -8  -8  -7  -4  -6  -7  -5  -8  -7  -8  -6
  -4  -5  -2  -1  -3  -5  -6  -5  -2  -3  -5  -3  -3  -7  -3  -5
  -4  -1  -2  -1  -1   2  -1  -3  -2  -3   4   1  -2  -7  -3  -4
  -4   0   1  -1   1   2   0   3  -2   2   4   1  -2   6   4   4
   4   0   1   1   2   3   0   5  -1   2   5   1   3   6   6   5
   5   5   2   1   2   4   6   6  -1   3   5   1   3   7   6   5
   7   8   7   2   6   8   8   6   5   6   6   5   8   7   7   5
		

Extensions

a(26) corrected by R. J. Mathar, May 11 2023
Showing 1-10 of 13 results. Next