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!)
A359269 Number of divisors of 5*n-2 of form 5*k+2. 7
0, 1, 0, 1, 0, 2, 0, 1, 0, 2, 0, 1, 1, 2, 0, 1, 0, 2, 0, 2, 0, 3, 0, 1, 0, 2, 1, 1, 0, 2, 1, 1, 0, 4, 0, 1, 0, 2, 0, 2, 1, 2, 0, 1, 0, 3, 0, 3, 1, 2, 0, 1, 0, 2, 1, 1, 0, 4, 0, 1, 0, 4, 0, 1, 1, 2, 1, 1, 1, 3, 0, 1, 0, 2, 0, 4, 0, 2, 0, 1, 0, 4, 1, 2, 1, 2, 0, 1, 0, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
COMMENTS
Also number of divisors of 5*n-2 of form 5*k+4.
LINKS
FORMULA
a(n) = A001877(5*n-2) = A001899(5*n-2).
G.f.: Sum_{k>0} x^(2*k)/(1 - x^(5*k-1)).
G.f.: Sum_{k>0} x^(4*k-2)/(1 - x^(5*k-3)).
MATHEMATICA
a[n_] := DivisorSum[5*n-2, 1 &, Mod[#, 5] == 2 &]; Array[a, 100] (* Amiram Eldar, Aug 16 2023 *)
PROG
(PARI) a(n) = sumdiv(5*n-2, d, d%5==2);
(PARI) a(n) = sumdiv(5*n-2, d, d%5==4);
(PARI) my(N=100, x='x+O('x^N)); concat(0, Vec(sum(k=1, N, x^(2*k)/(1-x^(5*k-1)))))
(PARI) my(N=100, x='x+O('x^N)); concat(0, Vec(sum(k=1, N, x^(4*k-2)/(1-x^(5*k-3)))))
CROSSREFS
Sequence in context: A039997 A039995 A035232 * A091603 A370884 A325036
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Dec 23 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 25 22:58 EDT 2024. Contains 375454 sequences. (Running on oeis4.)