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