OFFSET
1,3
COMMENTS
The nonzero terms in row n are the nonmiddle divisors of n.
The nonmiddle divisors of n are here the divisors of n that are not in the half-open interval [sqrt(n/2), sqrt(n*2)).
EXAMPLE
Triangle begins:
0;
0, 2;
1, 3;
1, 0, 4;
1, 5;
1, 0, 0, 6;
1, 7;
1, 0, 4, 8;
1, 0, 9;
1, 2, 5, 10;
1, 11;
1, 2, 0, 0, 6, 12;
...
For n = 12 the divisors of 12 are [1, 2, 3, 4, 6, 12] and the middle divisors are [3, 4], but here the middle divisors are replaced with zeros, so the 12th row of the triangle is [1, 2, 0, 0, 6, 12].
MATHEMATICA
row[n_] := Divisors[n] /. {x_?(Sqrt[n/2] <= # < Sqrt[2*n] &) -> 0}; Table[row[n], {n, 1, 24}] // Flatten (* Amiram Eldar, Jul 29 2024 *)
CROSSREFS
KEYWORD
nonn,tabf,easy
AUTHOR
Omar E. Pol, Jul 28 2024
STATUS
approved