OFFSET
1,3
COMMENTS
LINKS
Alois P. Heinz, Rows n = 1..23, flattened
FORMULA
a(n) = A135010(n)^2.
EXAMPLE
Written as a triangle:
1;
1,4;
1,1,9;
1,1,1,4,4,16;
1,1,1,1,1,4,9,25;
1,1,1,1,1,1,1,4,4,4,4,16,9,9,36;
1,1,1,1,1,1,1,1,1,1,1,4,4,9,4,25,9,16,49;
MATHEMATICA
Table[Reverse@ConstantArray[{1}, PartitionsP[n - 1]] ~Join~ DeleteCases[Sort@PadRight[Reverse/@Cases[IntegerPartitions[n], x_ /; Last[x] != 1]], x_ /; x == 0, 2], {n, 1, 8}] ^2 // Flatten (* Robert Price, May 28 2020 *)
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Omar E. Pol, Feb 08 2012
STATUS
approved