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!)
A281626 a(n) = (sum of trivial divisors of n) - (sum of nontrivial divisors of n). 1
1, 3, 4, 3, 6, 2, 8, 3, 7, 4, 12, -2, 14, 6, 8, 3, 18, -1, 20, 0, 12, 10, 24, -10, 21, 12, 16, 2, 30, -10, 32, 3, 20, 16, 24, -17, 38, 18, 24, -8, 42, -10, 44, 6, 14, 22, 48, -26, 43, 9, 32, 8, 54, -10, 40, -6, 36, 28, 60, -46, 62, 30, 24, 3, 48, -10, 68, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Trivial divisors of n are numbers 1 and n.
a(n) = 0 for numbers in A088831 (numbers n whose abundance is 2).
a(n) <= 0 for numbers in A005101 (abundant numbers).
a(n) > 0 for numbers in A263837 (non-abundant numbers).
LINKS
FORMULA
a(1) = 1; for n>1, a(n) = (n+1) - (sigma(n) - n - 1) = 2*(n+1) - sigma(n) = n + 1 - A048050(n).
a(A000396(n)) = 2 for n >= 1.
a(A000079(n)) = 3 for n >= 1.
a(A006881(n)) = phi(n).
a(p) = p + 1 for p prime.
EXAMPLE
a(20) = (20+1) - (2+4+5+10) = 0.
MATHEMATICA
Table[If[n == 1, 1, 2 (n + 1) - DivisorSigma[1, n]], {n, 68}] (* Michael De Vlieger, Feb 11 2017 *)
PROG
(Magma) [1] cat [2*(n+1) - SumOfDivisors(n): n in [2..100]]
CROSSREFS
Sequence in context: A104076 A238161 A332880 * A327650 A338128 A242801
KEYWORD
sign
AUTHOR
Jaroslav Krizek, Feb 11 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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)