login
A359287
Number of divisors of 5*n-1 of form 5*k+2.
4
1, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 2, 0, 2, 0, 4, 0, 2, 0, 2, 0, 2, 2, 2, 0, 2, 0, 3, 0, 4, 0, 2, 0, 2, 0, 2, 2, 2, 0, 4, 0, 2, 0, 4, 0, 2, 0, 2, 0, 2, 2, 4, 0, 2, 0, 2, 1, 4, 0, 2, 0, 2, 0, 4, 2, 2, 0, 2, 0, 2, 0, 4, 0, 4, 0, 4, 0, 2, 2, 2, 0, 2, 0, 2, 0, 4, 0, 4, 0
OFFSET
1,3
LINKS
FORMULA
a(n) = A001877(5*n-1).
G.f.: Sum_{k>0} x^(2*k-1)/(1 - x^(5*k-3)).
MATHEMATICA
a[n_] := DivisorSum[5*n-1, 1 &, Mod[#, 5] == 2 &]; Array[a, 100] (* Amiram Eldar, Aug 16 2023 *)
PROG
(PARI) a(n) = sumdiv(5*n-1, d, d%5==2);
(PARI) my(N=100, x='x+O('x^N)); Vec(sum(k=1, N, x^(2*k-1)/(1-x^(5*k-3))))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Dec 24 2022
STATUS
approved