OFFSET
1,5
LINKS
Alois P. Heinz, Rows n = 1..200, flattened
EXAMPLE
Triangle starts:
1;
1, 1;
1, 2, 1;
1, 2, 1, 1;
1, 1, 1, 2, 1;
1, 1, 1, 2, 1, 1;
1, 2, 3, 2, 1, 2, 1;
...
MAPLE
T:=proc(n, k) if k<=n then gcd(k, ceil(n/k)) else 0 fi end: for n from 1 to 16 do seq(T(n, k), k=1..n) od; # yields sequence in triangular form # Emeric Deutsch, Jul 26 2006
MATHEMATICA
T[n_, k_] := GCD[k, Ceiling[n/k]];
Table[T[n, k], {n, 1, 16}, {k, 1, n}] // Flatten (* Jean-François Alcover, Feb 10 2021 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Leroy Quet, Jul 12 2006
EXTENSIONS
More terms from Emeric Deutsch, Jul 26 2006
STATUS
approved