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.

A293901 Sum of proper divisors of n of the form 4k+1.

This page as a plain text file.
%I A293901 #15 Nov 27 2023 03:04:33
%S A293901 0,1,1,1,1,1,1,1,1,6,1,1,1,1,6,1,1,10,1,6,1,1,1,1,6,14,10,1,1,6,1,1,1,
%T A293901 18,6,10,1,1,14,6,1,22,1,1,15,1,1,1,1,31,18,14,1,10,6,1,1,30,1,6,1,1,
%U A293901 31,1,19,34,1,18,1,6,1,10,1,38,31,1,1,14,1,6,10,42,1,22,23,1,30,1,1,60,14,1,1,1,6,1,1,50,43,31,1,18,1,14,27
%N A293901 Sum of proper divisors of n of the form 4k+1.
%H A293901 Antti Karttunen, <a href="/A293901/b293901.txt">Table of n, a(n) for n = 1..16384</a>
%H A293901 <a href="/index/Su#sums_of_divisors">Index entries for sequences related to sums of divisors</a>.
%F A293901 a(n) = Sum_{d|n, d<n} [1 == d mod 4]*d.
%F A293901 a(n) = A091570(n) - A293903(n).
%F A293901 G.f.: Sum_{k>=1} (4*k-3) * x^(8*k-6) / (1 - x^(4*k-3)). - _Ilya Gutkovskiy_, Apr 14 2021
%F A293901 Sum_{k=1..n} a(k) = c * n^2 + O(n*log(n)), where c = Pi^2/48 - 1/8 = 0.0806167... . - _Amiram Eldar_, Nov 27 2023
%t A293901 a[n_] := DivisorSum[n, # &, # < n && Mod[#, 4] == 1 &]; Array[a, 100] (* _Amiram Eldar_, Nov 27 2023 *)
%o A293901 (PARI) A293901(n) = sumdiv(n,d,(d<n)*(1==(d%4))*d);
%Y A293901 Cf. A050449, A091570, A293451, A293903.
%K A293901 nonn,easy
%O A293901 1,10
%A A293901 _Antti Karttunen_, Oct 19 2017