OFFSET
1,7
FORMULA
a(n) = (1/5) * Sum_{d | 5*n-3, d==3 (mod 5)} (d+2).
G.f.: Sum_{k>0} x^(3*k) / (1 - x^(5*k-1))^2.
MATHEMATICA
a[n_] := DivisorSum[5*n - 3, # + 2 &, Mod[#, 5] == 3 &]/5; Array[a, 100] (* Amiram Eldar, Jul 06 2023 *)
PROG
(PARI) a(n) = sumdiv(5*n-3, d, (d%5==3)*(d+2))/5;
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jul 06 2023
STATUS
approved