login
A384046
Triangle in which the n-th row gives the numbers from 1 to n whose largest divisor that is a unitary divisor of n is 1.
16
1, 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 5, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 7, 1, 2, 3, 4, 5, 6, 7, 8, 1, 3, 7, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 5, 7, 10, 11, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 3, 5, 9, 11, 13, 1, 2, 4, 7, 8, 11, 13, 14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
OFFSET
1,4
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10204 (first 170 rows flattened)
Eckford Cohen, Arithmetical functions associated with the unitary divisors of an integer, Mathematische Zeitschrift, Vol. 74 (1960), pp. 66-80.
FORMULA
T(n, 1) = 1.
EXAMPLE
Triangle begins:
1,
1,
1, 2,
1, 2, 3,
1, 2, 3, 4,
1, 5,
1, 2, 3, 4, 5, 6,
1, 2, 3, 4, 5, 6, 7,
1, 2, 3, 4, 5, 6, 7, 8,
1, 3, 7, 9
MATHEMATICA
udiv[n_] := Select[Divisors[n], CoprimeQ[#, n/#] &]; uGCD[n_, k_] := Max[Intersection[udiv[n], Divisors[k]]]; row[n_] := Select[Range[n], uGCD[n, #] == 1 &]; Array[row, 10] // Flatten
PROG
(PARI) udiv(n) = select(x -> gcd(x, n/x) == 1, divisors(n));
ugcd(n, k) = vecmax(setintersect(udiv(n), divisors(k)));
row(n) = select(x -> ugcd(n, x) == 1, vector(n, i, i));
CROSSREFS
The unitary analog of A038566.
Cf. A047994 (row lengths), A333576 (row sums), A077610, A225174, A384047.
Sequence in context: A051237 A384244 A064379 * A278961 A384246 A194973
KEYWORD
nonn,tabf,easy
AUTHOR
Amiram Eldar, May 18 2025
STATUS
approved