OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
FORMULA
a(n) = Sum_{d|n} A126760(d).
MATHEMATICA
f[n_] := 2 * Floor[(m = n/2^IntegerExponent[n, 2]/3^IntegerExponent[n, 3])/6] + Mod[m, 3]; a[n_] := DivisorSum[n, f[#] &]; Array[a, 100] (* Amiram Eldar, Nov 16 2021 *)
PROG
(PARI)
(PARI) a(n)=my(a=valuation(n, 2), b=valuation(n, 3), c=(a+1)*(b+1)); sumdiv(n/3^b>>a, d, d\6*2+d%3)*c; \\ Charles R Greathouse IV, Nov 16 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 16 2021
STATUS
approved