A244325 a(n) = floor(antisigma(n) / n), where antisigma(n) = A024816(n) = the sum of the non-divisors of n that are between 1 and n.
0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, 15, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 21, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 27, 29, 29, 30, 30, 31, 31, 32, 32, 33, 33, 34
Offset: 1
Examples
For n=10: a(10) = floor(antisigma(10)/10) = floor(37/10) = 3.
Links
- Jaroslav Krizek, Table of n, a(n) for n = 1..10000
Programs
-
Magma
[Floor((n*(n+1)div 2-SumOfDivisors(n))div n): n in [1..1000]];
Comments