OFFSET
1,2
COMMENTS
Equivalently, a(n) is the number of unordered triples of divisors of n.
There are tau(n)*(tau(n) - 1)*(tau(n) - 2)/6 distinct cuboids with three different edges, (tau(n)*1*(tau(n) - 1) + tau(n)*(tau(n) - 1)*2)/3 distinct cuboids with two different edges and tau(n) distinct cuboids that are cubes.
LINKS
Felix Huber, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = (tau(n)^3 + 3*tau(n)^2 + 2*tau(n))/6.
a(n) = binomial(tau(n) + 2, 3).
EXAMPLE
a(4) = 10, because there are 10 distinct cuboids whose edges are divisors of 4: (1, 1, 1), (1, 1, 2), (1, 1, 4), (1, 2, 2), (1, 2, 4), (1, 4, 4), (2, 2, 2), (2, 2, 4), (2, 4, 4), (4, 4, 4).
MAPLE
MATHEMATICA
a[n_] := Binomial[DivisorSigma[0, n] + 2, 3]; Array[a, 70] (* Amiram Eldar, Nov 07 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Felix Huber, Oct 25 2024
STATUS
approved