OFFSET
1,2
COMMENTS
LINKS
Alois P. Heinz, Rows n = 1..141, flattened
EXAMPLE
The first rows of the triangle are:
1;
2, 5;
2, 4, 6;
3, 8, 6, 15;
2, 4, 4, 6, 8;
4, 10, 12, 16, 8, 30;
2, 4, 4, 6, 4, 8, 10;
4, 11, 8, 22, 8, 22, 8, 37;
3, 6, 10, 9, 6, 20, 6, 12, 23;
MAPLE
with(numtheory):
T:= (n, k)-> add(add(igcd(c, d), c=divisors(n)), d=divisors(k)):
seq (seq (T(n, k), k=1..n), n=1..14); # Alois P. Heinz, Sep 12 2012
MATHEMATICA
T[n_, k_] := Sum[GCD[c, d], {c, Divisors[n]}, {d, Divisors[k]}]; Table[T[n, k], {n, 1, 14}, {k, 1, n}] // Flatten (* Jean-François Alcover, Mar 25 2014 *)
PROG
(Sage)
for n in (1..9): [A216624(n, k) for k in (1..n)]
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Peter Luschny, Sep 12 2012
STATUS
approved