login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A359289 Number of divisors of 4*n-2 of form 4*k+1. 1
1, 1, 2, 1, 2, 1, 2, 2, 2, 1, 2, 1, 3, 2, 2, 1, 2, 2, 2, 2, 2, 1, 4, 1, 2, 2, 2, 2, 2, 1, 2, 3, 4, 1, 2, 1, 2, 3, 2, 1, 3, 1, 4, 2, 2, 2, 2, 2, 2, 3, 2, 1, 4, 1, 2, 2, 2, 2, 4, 2, 2, 2, 4, 1, 2, 1, 2, 4, 2, 1, 2, 2, 4, 3, 2, 1, 4, 2, 2, 2, 2, 1, 4, 1, 3, 3, 2, 3, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
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
Sequence in context: A290085 A322867 A163109 * A286574 A329320 A316112
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Dec 24 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 20 00:15 EDT 2024. Contains 375310 sequences. (Running on oeis4.)