OFFSET
1,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
FORMULA
G.f.: Sum_{k>=0} (7*k + 2)*x^(7*k+2)/(1 - x^(7*k+2)). - Ilya Gutkovskiy, Mar 28 2017
Sum_{k=1..n} a(k) = c * n^2 + O(n*log(n)), where c = Pi^2/84 = 0.117495... . - Amiram Eldar, Nov 26 2023
MATHEMATICA
Table[Sum[If[Mod[d, 7] == 2, d, 0], {d, Divisors[n]}], {n, 80}] (* Indranil Ghosh, Mar 27 2017 *)
PROG
(PARI) a(n) = sumdiv(n, d, d*((d % 7) == 2)); \\ Amiram Eldar, Nov 26 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Mar 27 2017
STATUS
approved