cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A321822 a(n) = Sum_{d|n, d==1 mod 4} d^6 - Sum_{d|n, d==3 mod 4} d^6.

This page as a plain text file.
%I A321822 #28 Aug 17 2024 10:10:38
%S A321822 1,1,-728,1,15626,-728,-117648,1,530713,15626,-1771560,-728,4826810,
%T A321822 -117648,-11375728,1,24137570,530713,-47045880,15626,85647744,
%U A321822 -1771560,-148035888,-728,244156251,4826810,-386889776,-117648,594823322,-11375728
%N A321822 a(n) = Sum_{d|n, d==1 mod 4} d^6 - Sum_{d|n, d==3 mod 4} d^6.
%H A321822 Seiichi Manyama, <a href="/A321822/b321822.txt">Table of n, a(n) for n = 1..10000</a>
%H A321822 J. W. L. Glaisher, <a href="https://books.google.com/books?id=bLs9AQAAMAAJ&amp;pg=RA1-PA1">On the representations of a number as the sum of two, four, six, eight, ten, and twelve squares</a>, Quart. J. Math. 38 (1907), 1-62 (see p. 4 and p. 8).
%H A321822 <a href="/index/Ge#Glaisher">Index entries for sequences mentioned by Glaisher</a>.
%F A321822 a(n) = a(A000265(n)). - _M. F. Hasler_, Nov 26 2018
%F A321822 G.f.: Sum_{k>=1} (-1)^(k-1)*(2*k - 1)^6*x^(2*k-1)/(1 - x^(2*k-1)). - _Ilya Gutkovskiy_, Dec 06 2018
%F A321822 Multiplicative with a(2^e) = 1, and for an odd prime p, ((p^6)^(e+1)-1)/(p^6-1) if p == 1 (mod 4) and ((-p^6)^(e+1)-1)/(-p^6-1) if p == 3 (mod 4). - _Amiram Eldar_, Sep 27 2023
%F A321822 a(n) = Sum_{d|n} d^6*sin(d*Pi/2). - _Ridouane Oudra_, Aug 17 2024
%t A321822 s[n_, r_] := DivisorSum[n, #^6 &, Mod[#, 4] == r &]; a[n_] := s[n, 1] - s[n, 3]; Array[a, 30] (* _Amiram Eldar_, Nov 26 2018 *)
%t A321822 f[p_, e_] := If[Mod[p, 4] == 1, ((p^6)^(e+1)-1)/(p^6-1), ((-p^6)^(e+1)-1)/(-p^6-1)]; f[2, e_] := 1; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 60] (* _Amiram Eldar_, Sep 27 2023 *)
%o A321822 (PARI) apply( A321822(n)=sumdiv(n>>valuation(n,2),d,(2-d%4)*d^6), [1..40]) \\ _M. F. Hasler_, Nov 26 2018
%Y A321822 Column k=6 of A322143.
%Y A321822 Cf. A321543 - A321565, A321807 - A321836 for similar sequences.
%Y A321822 Cf. A000265.
%K A321822 sign,easy,mult
%O A321822 1,3
%A A321822 _N. J. A. Sloane_, Nov 24 2018