login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A359212
Number of divisors of 3*n-2 of form 3*k+1.
5
1, 2, 2, 2, 2, 3, 2, 2, 2, 4, 2, 2, 2, 4, 2, 2, 3, 4, 2, 2, 2, 4, 2, 4, 2, 4, 2, 2, 2, 4, 4, 2, 2, 5, 2, 2, 2, 6, 2, 2, 2, 4, 2, 4, 4, 4, 2, 2, 2, 4, 2, 4, 2, 6, 2, 2, 3, 4, 4, 2, 2, 4, 2, 4, 2, 6, 2, 2, 2, 6, 2, 2, 4, 6, 2, 2, 2, 4, 2, 4, 2, 4, 4, 4, 2, 5, 4, 2, 2, 4
OFFSET
1,2
FORMULA
G.f.: Sum_{k>0} x^k/(1 - x^(3*k-2)).
MATHEMATICA
a[n_] := DivisorSum[3*n-2, 1 &, Mod[#, 3] == 1 &]; Array[a, 100] (* Amiram Eldar, Aug 23 2023 *)
PROG
(PARI) a(n) = sumdiv(3*n-2, d, d%3==1);
(PARI) my(N=100, x='x+O('x^N)); Vec(sum(k=1, N, x^k/(1-x^(3*k-2))))
CROSSREFS
Sequence in context: A033947 A069719 A316990 * A320018 A327162 A326193
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Dec 21 2022
STATUS
approved