A178803 Write the factorial of each term in A036043(n).
1, 1, 2, 1, 2, 6, 1, 2, 2, 6, 24, 1, 2, 2, 6, 6, 24, 120, 1, 2, 2, 2, 6, 6, 6, 24, 24, 120, 720, 1, 2, 2, 2, 6, 6, 6, 6, 24, 24, 24, 120, 120, 720, 5040, 1, 2, 2, 2, 2, 6, 6, 6, 6, 6, 24, 24, 24, 24, 24, 120, 120, 120, 720, 720, 5040, 40320, 1, 2, 2, 2, 2, 6, 6, 6, 6, 6, 6, 6, 24, 24, 24, 24, 24
Offset: 1
Examples
A036043 begins 1 1 2 1 2 3 1 2 2 3 4 1 2 2 3 3 4 5 ... so this table begins 1 1 2 1 2 6 1 2 2 6 24 ... 1; 1, 2; 1, 2, 6; 1, 2, 2, 6, 24; 1, 2, 2, 6, 6, 24, 120; 1, 2, 2, 2, 6, 6, 6, 24, 24, 120, 720; 1, 2, 2, 2, 6, 6, 6, 6, 24, 24, 24, 120, 120, 720, 5040; 1, 2, 2, 2, 2, 6, 6, 6, 6, 6, 24, 24, 24, 24, 24, 120, 120, 120, 720, 720, 5040, 40320;
Programs
-
SageMath
def A178803_row(n): return [factorial(len(p)) for k in (0..n) for p in Partitions(n, length=k)] for n in (0..10): print(A178803_row(n)) # Peter Luschny, Nov 02 2019
Comments