OFFSET
1,2
FORMULA
EXAMPLE
Triangle begins:
1: [1]
2: [2, 1]
3: [2, 1]
4: [4, 2, 1]
5: [2, 1]
6: [10, 2, 2, 1]
7: [2, 1]
8: [8, 4, 2, 1]
9: [4, 2, 1]
10: [10, 2, 2, 1]
11: [2, 1]
12: [44, 10, 4, 2, 2, 1]
13: [2, 1]
14: [10, 2, 2, 1]
15: [10, 2, 2, 1]
MATHEMATICA
Array[Tally[Map[GCD @@ # &, Rest[Subsets@ Divisors[#]]]][[All, -1]] &, 24] // Flatten (* Michael De Vlieger, Nov 04 2020 *)
PROG
(PARI) row(n) = { my (d=divisors(n), r=vector(#d)); for (m=1, 2^#d-1, r[setsearch(d, gcd(vecextract(d, m)))]++); r }
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Rémy Sigrist, Oct 31 2020
STATUS
approved