OFFSET
1,3
COMMENTS
LINKS
Daniel Suteu, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Barnes G-Function
Eric Weisstein's World of Mathematics, Superfactorial
EXAMPLE
a(5) = 12 because 2!*3!*4!*5! = 2^8*3^3*5 and 8 + 3 + 1 = 12.
MAPLE
b:= proc(n) option remember; `if`(n<1, [0$2],
(p-> p+[numtheory[bigomega](n), p[1]])(b(n-1)))
end:
a:= n-> b(n+1)[2]:
seq(a(n), n=1..55); # Alois P. Heinz, Oct 07 2021
MATHEMATICA
nmax = 55; Rest[CoefficientList[Series[1/(1 - x)^2 Sum[Boole[PrimePowerQ[k]] x^k/(1 - x^k), {k, 1, nmax}], {x, 0, nmax}], x]]
Table[PrimeOmega[BarnesG[n + 2]], {n, 55}]
Table[ Sum[ PrimeOmega@ j, {k, n}, {j, k}], {n, 55}]
PROG
(PARI) a(n) = my(t=0); sum(k=1, n, t+=bigomega(k)); \\ Daniel Suteu, Jan 17 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 20 2018
STATUS
approved