login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A321821 a(n) = Sum_{d|n, d==1 mod 4} d^5 - Sum_{d|n, d==3 mod 4} d^5. 3
1, 1, -242, 1, 3126, -242, -16806, 1, 58807, 3126, -161050, -242, 371294, -16806, -756492, 1, 1419858, 58807, -2476098, 3126, 4067052, -161050, -6436342, -242, 9768751, 371294, -14290100, -16806, 20511150, -756492, -28629150, 1, 38974100 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Seiichi Manyama, Table of n, a(n) for n = 1..10000

J. W. L. Glaisher, On the representations of a number as the sum of two, four, six, eight, ten, and twelve squares, Quart. J. Math. 38 (1907), 1-62 (see p. 4 and p. 8).

Index entries for sequences mentioned by Glaisher

FORMULA

a(n) = a(A000265(n)). - M. F. Hasler, Nov 26 2018

G.f.: Sum_{k>=1} (-1)^(k-1)*(2*k - 1)^5*x^(2*k-1)/(1 - x^(2*k-1)). - Ilya Gutkovskiy, Dec 22 2018

MATHEMATICA

s[n_, r_] := DivisorSum[n, #^5 &, Mod[#, 4] == r &]; a[n_] := s[n, 1] - s[n, 3]; Array[a, 30] (* Amiram Eldar, Nov 26 2018 *)

Table[With[{d=Divisors[n]}, Total[Select[d, Mod[#, 4]==1&]^5]-Total[Select[ d, Mod[ #, 4]==3&]^5]], {n, 40}] (* Harvey P. Dale, Dec 15 2018 *)

PROG

(PARI) apply( A321821(n)=sumdiv(n>>valuation(n, 2), d, (2-d%4)*d^5), [1..40]) \\ M. F. Hasler, Nov 26 2018

CROSSREFS

Column k=5 of A322143.

Cf. A321543 - A321565, A321807 - A321836 for similar sequences.

Sequence in context: A217998 A183891 A120377 * A171242 A259092 A060110

Adjacent sequences:  A321818 A321819 A321820 * A321822 A321823 A321824

KEYWORD

sign,mult

AUTHOR

N. J. A. Sloane, Nov 24 2018

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 21 02:46 EDT 2020. Contains 337266 sequences. (Running on oeis4.)