For the table x with three lists per row:
x={{{10, 56, 528, 6240, 97920, 1751040, 38154240, 1058365440,
31677972480, 1134275788800, 45248407142400}, {2, 14, 15, 1,
2}, {1}}, {{3, 60, 280, 1232, 192192, 52276224, 17878468608,
74764505088, 1238954655744, 1152227829841920,
1534767469349437440}, {3, 6, 9, 3, 6}, {1}}, {{3, 60, 280, 1232,
192192, 52276224, 17878468608, 74764505088, 1238954655744,
1152227829841920, 1534767469349437440}, {3, 6, 10, 3, 6}, {1}}};
How can I convert the above table to this:
x2={{{10,56,528,6240,97920,1751040,38154240,1058365440,31677972480,1134275788800,45248407142400},{2,14,15,1,2},{1}},
{{3,60,280,1232,192192,52276224,17878468608,74764505088,1238954655744,1152227829841920,1534767469349437440},{3,6,10,3,6},{1},{3,6,9,3,6},{1}}};
Ie duplicates x[[n]][[1]] are removed and then for each duplicate n, x[[n]][[2]] and x[[n]][[3]] are appended to the row for the distinct n.
Also for x, how can the length be checked for how many lists are in x[[n]][[1]]? Is there a way to directly remove duplicate n's?
Thanks.