login
A361691
Number of divisors of 7*n-1 of form 7*k+1.
5
1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1, 3, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 3, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 3, 1, 1, 2, 1, 1, 2, 1, 3, 1, 1, 1, 3, 1, 1, 1, 2, 1, 3, 1, 1, 1, 1, 1, 3, 2, 1, 1, 2, 1, 3, 1, 2, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 1
OFFSET
1,7
COMMENTS
Also number of divisors of 7*n-1 of form 7*k+6.
FORMULA
a(n) = A279061(7*n-1) = A363808(7*n-1).
G.f.: Sum_{k>0} x^(6*k-5)/(1 - x^(7*k-6)).
G.f.: Sum_{k>0} x^k/(1 - x^(7*k-1)).
MATHEMATICA
a[n_] := DivisorSum[7*n - 1, 1 &, Mod[#, 7] == 1 &]; Array[a, 100] (* Amiram Eldar, Jun 25 2023 *)
PROG
(PARI) a(n) = sumdiv(7*n-1, d, d%7==1);
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jun 24 2023
STATUS
approved