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!)
A293895 Number of proper divisors of n of the form 3k+1. 7
0, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 1, 1, 1, 3, 2, 1, 1, 2, 1, 2, 1, 3, 1, 2, 1, 3, 1, 1, 2, 2, 1, 2, 2, 3, 1, 2, 1, 3, 1, 1, 1, 3, 2, 3, 1, 3, 1, 1, 1, 4, 2, 1, 1, 3, 1, 2, 2, 3, 2, 2, 1, 3, 1, 3, 1, 2, 1, 2, 2, 3, 2, 2, 1, 5, 1, 1, 1, 4, 1, 2, 1, 3, 1, 2, 3, 3, 2, 1, 2, 3, 1, 3, 1, 4, 1, 2, 1, 4, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
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) = A001817(n) - [n == 1 (mod 3)].
G.f.: Sum_{k>=1} x^(6*k-4) / (1 - x^(3*k-2)). - Ilya Gutkovskiy, Apr 14 2021
Sum_{k=1..n} a(k) = n*log(n)/3 + c*n + O(n^(1/3)*log(n)), where c = gamma(1,3) - (2 - gamma)/3 = A256425 - (2 - A001620)/3 = 0.203545... (Smith and Subbarao, 1981). - Amiram Eldar, Nov 25 2023
MATHEMATICA
Table[DivisorSum[n, 1 &, And[Mod[#, 3] == 1, # != n] &], {n, 105}] (* Michael De Vlieger, Nov 08 2017 *)
PROG
(PARI) A293895(n) = sumdiv(n, d, (d<n)*(1==(d%3)));
CROSSREFS
Sequence in context: A359233 A337323 A344770 * A300385 A317145 A330665
KEYWORD
nonn,easy
AUTHOR
Antti Karttunen, Nov 06 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 07:54 EDT 2024. Contains 371922 sequences. (Running on oeis4.)