A163163 a(n) = sigma(n) + tau(n) - n.
1, 3, 3, 6, 3, 10, 3, 11, 7, 12, 3, 22, 3, 14, 13, 20, 3, 27, 3, 28, 15, 18, 3, 44, 9, 20, 17, 34, 3, 50, 3, 37, 19, 24, 17, 64, 3, 26, 21, 58, 3, 62, 3, 46, 39, 30, 3, 86, 11, 49, 25, 52, 3, 74, 21, 72, 27, 36, 3, 120, 3, 38, 47, 70, 23, 86, 3, 64, 31, 82, 3, 135, 3, 44, 55, 70, 23, 98, 3
Offset: 1
Examples
a(10) = A007503(10) - 10 = 22 - 10 = 12.
Links
- Antti Karttunen, Table of n, a(n) for n = 1..65537
- Antti Karttunen, Sequence plotted up to n=10000, showing the details better
Programs
-
Mathematica
Table[Apply[Plus, DivisorSigma[#, n] & /@ {0, 1}] - n, {n, 79}] (* Michael De Vlieger, Feb 25 2018 *)
-
PARI
A163163(n) = (sigma(n)+numdiv(n)-n); \\ Antti Karttunen, Feb 25 2018
Formula
Extensions
47 replaced with 37 by R. J. Mathar, Jul 25 2009