OFFSET
1,3
COMMENTS
For (n, n), there is at least one maximal partition P that's symmetric: (x, y) in P <=> (y, x) in P. This can be proven by manipulating integer sequences c(i) (i >= 1) such that 0 <= c(i) <= i+1 for all i and Sum_{i > 0} i*c(i) = 2n, which correspond to partitions P of (n, n) with size |P| = Sum_{i > 0} c(i), where c(i) is equal to number of (x, y) in P such that x+y = i.
FORMULA
a(n*(n+3)/2) = n*(n+1)*(n+2)/6.
EXAMPLE
For n = 8, a(n) = 9, as (9, 9) can be expressed as the sum (0, 1) + (0, 2) + (0, 3) + (1, 0) + (2, 0) + (3, 0) + (1, 2) + (2, 1), but the longest sum for (8, 8) has 7 pairs.
PROG
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Jimin Park, Nov 24 2024
STATUS
approved