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