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!)
A050465 a(n) = Sum_{d|n, n/d=3 mod 4} d^2. 7
0, 0, 1, 0, 0, 4, 1, 0, 9, 0, 1, 16, 0, 4, 26, 0, 0, 36, 1, 0, 58, 4, 1, 64, 0, 0, 82, 16, 0, 104, 1, 0, 130, 0, 26, 144, 0, 4, 170, 0, 0, 232, 1, 16, 234, 4, 1, 256, 49, 0, 290, 0, 0, 328, 26, 64, 370, 0, 1, 416, 0, 4, 523, 0, 0, 520, 1, 0, 538, 104, 1, 576, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
FORMULA
a(n) = A050461(n) - A050470(n). - Reinhard Zumkeller, Mar 06 2012
From Amiram Eldar, Nov 05 2023: (Start)
a(n) = A076577(n) - A050461(n).
a(n) = (A076577(n) - A050470(n))/2.
Sum_{k=1..n} a(k) ~ c * n^3 / 3, where c = 7*zeta(3)/16 - Pi^3/64 = 0.041426822002... . (End)
MATHEMATICA
a[n_] := DivisorSum[n, #^2 &, Mod[n/#, 4] == 3 &]; Array[a, 100] (* Amiram Eldar, Nov 05 2023 *)
PROG
(Haskell)
a050465 n = sum [d ^ 2 | d <- a027750_row n, mod (div n d) 4 == 3]
-- Reinhard Zumkeller, Mar 06 2012
(PARI) a(n) = sumdiv(n, d, (n/d % 4 == 3) * d^2); \\ Amiram Eldar, Nov 05 2023
CROSSREFS
Sequence in context: A176219 A231350 A152420 * A134575 A095831 A277531
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 23 1999
EXTENSIONS
Offset fixed by Reinhard Zumkeller, Mar 06 2012
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 April 25 09:22 EDT 2024. Contains 371967 sequences. (Running on oeis4.)