The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A050464 a(n) = Sum_{d|n, n/d=3 mod 4} d. 7
0, 0, 1, 0, 0, 2, 1, 0, 3, 0, 1, 4, 0, 2, 6, 0, 0, 6, 1, 0, 10, 2, 1, 8, 0, 0, 10, 4, 0, 12, 1, 0, 14, 0, 6, 12, 0, 2, 14, 0, 0, 20, 1, 4, 18, 2, 1, 16, 7, 0, 18, 0, 0, 20, 6, 8, 22, 0, 1, 24, 0, 2, 31, 0, 0, 28, 1, 0, 26, 12, 1, 24, 0, 0, 31, 4, 18, 28, 1, 0, 30, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
FORMULA
G.f.: Sum_{k>=1} k*x^(3*k)/(1 - x^(4*k)). - Ilya Gutkovskiy, Sep 13 2019
G.f.: Sum_{k>0} x^(4*k-1) / (1 - x^(4*k-1))^2. - Seiichi Manyama, Jun 29 2023
from Amiram Eldar, Nov 05 2023: (Start)
a(n) = A002131(n) - A050460(n).
a(n) = A050460(n) - A050469(n).
a(n) = (A002131(n) - A050469(n))/2.
Sum_{k=1..n} a(k) ~ c * n^2 / 2, where c = A247037. (End)
MATHEMATICA
a[n_] := DivisorSum[n, # &, Mod[n/#, 4] == 3 &]; Array[a, 100] (* Amiram Eldar, Jun 27 2023 *)
PROG
(PARI) a(n)={sumdiv(n, d, d*(n/d%4==3))} \\ Andrew Howroyd, Sep 13 2019
CROSSREFS
Sequence in context: A308298 A364106 A364033 * A014405 A368464 A143153
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 23 1999
EXTENSIONS
Offset changed to 1 by Ilya Gutkovskiy, Sep 13 2019
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 May 29 15:18 EDT 2024. Contains 372952 sequences. (Running on oeis4.)