OFFSET
0,2
COMMENTS
Row sums of the triangle A103444.
EXAMPLE
a(3) = 6 because the divisors of 1,3,3,1 are {1},{1,3},{1,3},{1}, respectively, all of which are unitary, and 1 + 2 + 2 + 1 = 6.
MAPLE
with(numtheory):unitdiv:=proc(n) local A, k: A:={}: for k from 1 to tau(n) do if gcd(divisors(n)[k], n/divisors(n)[k])=1 then A:=A union {divisors(n)[k]} else A:=A fi od end: T:=proc(n, k) if k<=n then nops(unitdiv(binomial(n, k))) else 0 fi end: for n from 0 to 50 do b[n]:=[seq(T(n, k), k=0..n)] od: seq(sum(b[n][j], j=1..n+1), n=0..50);
MATHEMATICA
a[n_] := Sum[2^PrimeNu[Binomial[n, k]], {k, 0, n}]; Array[a, 50, 0] (* Amiram Eldar, Jul 22 2024 *)
PROG
(PARI) a(n) = sum(k = 0, n, 2^omega(binomial(n, k))); \\ Amiram Eldar, Jul 22 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Emeric Deutsch, Feb 06 2005
STATUS
approved