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.

A317577 Number of ways the set {1,2,...,n} can be split into three subsets X, Y, Z of equal sums, where the order of X, Y, Z matters.

Original entry on oeis.org

0, 0, 0, 0, 6, 6, 0, 18, 54, 0, 258, 612, 0, 3570, 8880, 0, 55764, 142368, 0, 947946, 2468844, 0, 17099808, 45375498, 0, 323927184, 871038570, 0, 6369199908, 17312303760
Offset: 1

Views

Author

Ovidiu Bagdasar, Jul 31 2018

Keywords

Comments

Constant term of Product_{k=1..n} (x^k+y^k+1/(x*y)^k).

Examples

			For n = 1, 2, 3, 4, a(n) = 0, as n*(n+1)/2 is not divisible by 3.
For n = 5, a(5) = 6, as {1,2,3,4,5} = {1,4}U{2,3}U{5} and there are 6 permutations.
For n = 6, a(6) = 6, as {1,2,3,4,5,6} = {1,6}U{2,5}U{3,4} and there are 6 permutations.
		

Crossrefs

Cf. A112972.

Formula

a(n) = 6*A112972(n).