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!)
A050466 a(n) = Sum_{d|n, n/d=3 mod 4} d^3. 5
0, 0, 1, 0, 0, 8, 1, 0, 27, 0, 1, 64, 0, 8, 126, 0, 0, 216, 1, 0, 370, 8, 1, 512, 0, 0, 730, 64, 0, 1008, 1, 0, 1358, 0, 126, 1728, 0, 8, 2198, 0, 0, 2960, 1, 64, 3402, 8, 1, 4096, 343, 0, 4914, 0, 0, 5840, 126, 512, 6886, 0, 1, 8064, 0, 8, 9991, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
COMMENTS
From Robert G. Wilson v, Mar 26 2015: (Start)
a(n) = 0 for n = 1, 2, 4, 5, 8, 10, 13, 16, 17, 20, 25, ... (A072437).
a(n) = 1 for n = 3, 7, 11, 19, 23, 31, 43, 47, 59, 67, ... (A002145). (End)
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Robert G. Wilson v)
FORMULA
From Amiram Eldar, Nov 05 2023: (Start)
a(n) = A007331(n) - A050462(n).
a(n) = A050462(n) - A050471(n).
a(n) = (A007331(n) - A050471(n))/2.
Sum_{k=1..n} a(k) ~ c * n^4 / 4, where c = Pi^4/192 - A175572/2 = 0.0128667399315... . (End)
MATHEMATICA
a[n_] := Total[(n/Select[Divisors@ n, Mod[#, 4] == 3 &])^3]; Array[a, 64] (* Robert G. Wilson v, Mar 26 2015 *)
a[n_] := DivisorSum[n, #^3 &, Mod[n/#, 4] == 3 &]; Array[a, 50] (* Amiram Eldar, Nov 05 2023 *)
PROG
(PARI) a(n) = sumdiv(n, d, ((n/d % 4)== 3)* d^3); \\ Michel Marcus, Mar 26 2015
CROSSREFS
Sequence in context: A176459 A248878 A168387 * A095893 A095886 A325222
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 23 1999
EXTENSIONS
Offset changed from 0 to 1 by Robert G. Wilson v, Mar 27 2015
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 13 03:04 EDT 2024. Contains 372497 sequences. (Running on oeis4.)