A296150 Triangle whose n-th row is the integer partition with Heinz number n.
1, 2, 1, 1, 3, 2, 1, 4, 1, 1, 1, 2, 2, 3, 1, 5, 2, 1, 1, 6, 4, 1, 3, 2, 1, 1, 1, 1, 7, 2, 2, 1, 8, 3, 1, 1, 4, 2, 5, 1, 9, 2, 1, 1, 1, 3, 3, 6, 1, 2, 2, 2, 4, 1, 1, 10, 3, 2, 1, 11, 1, 1, 1, 1, 1, 5, 2, 7, 1, 4, 3, 2, 2, 1, 1, 12, 8, 1, 6, 2, 3, 1, 1, 1, 13, 4
Offset: 1
Examples
Sequence of partitions begins: (), (1), (2), (11), (3), (21), (4), (111), (22), (31), (5), (211), (6), (41), (32), (1111), (7), (221).
Links
- Robert Israel, Table of n, a(n) for n = 1..10002 (rows 1 to 3272, flattened)
Crossrefs
Programs
-
Maple
f := n -> op(map(numtheory:-pi, sort(map(`$`@op, ifactors(n)[2]), `>`))): map(f, [$1..100]); # Robert Israel, Feb 09 2018
-
Mathematica
Table[If[n===1,{},Join@@Cases[FactorInteger[n]//Reverse,{p_,k_}:>Table[PrimePi[p],{k}]]],{n,50}]
Comments