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!)
A293451 Number of proper divisors of n of the form 4k+1. 4
0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 2, 2, 1, 1, 2, 1, 1, 1, 2, 2, 2, 1, 1, 2, 2, 1, 2, 1, 1, 3, 1, 1, 1, 1, 3, 2, 2, 1, 2, 2, 1, 1, 2, 1, 2, 1, 1, 3, 1, 3, 2, 1, 2, 1, 2, 1, 2, 1, 2, 3, 1, 1, 2, 1, 2, 2, 2, 1, 2, 3, 1, 2, 1, 1, 4, 2, 1, 1, 1, 2, 1, 1, 2, 3, 3, 1, 2, 1, 2, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,10
LINKS
R. A. Smith and M. V. Subbarao, The average number of divisors in an arithmetic progression, Canadian Mathematical Bulletin, Vol. 24, No. 1 (1981), pp. 37-41.
FORMULA
a(n) = Sum_{d|n, d<n} [1 == d mod 4].
a(n) = A091954(n) - A293513(n).
a(n) = A001826(n) - A121262(n-1).
G.f.: Sum_{k>=1} x^(8*k-6) / (1 - x^(4*k-3)). - Ilya Gutkovskiy, Apr 14 2021
Sum_{k=1..n} a(k) = n*log(n)/4 + c*n + O(n^(1/3)*log(n)), where c = gamma(1,4) - (2 - gamma)/4 = A256778 - (2 - A001620)/4 = 0.354593... (Smith and Subbarao, 1981). - Amiram Eldar, Nov 25 2023
MATHEMATICA
a[n_] := DivisorSum[n, 1 &, # < n && Mod[#, 4] == 1 &]; Array[a, 100] (* Amiram Eldar, Nov 25 2023 *)
PROG
(PARI) A293451(n) = sumdiv(n, d, (d<n)*(1==(d%4)));
CROSSREFS
Sequence in context: A157196 A300410 A362845 * A063014 A286361 A357849
KEYWORD
nonn,easy
AUTHOR
Antti Karttunen, Oct 19 2017
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 24 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)