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!)
A337177 Sum of the divisors d of n such that d is not equal to n/d. 0
0, 3, 4, 5, 6, 12, 8, 15, 10, 18, 12, 28, 14, 24, 24, 27, 18, 39, 20, 42, 32, 36, 24, 60, 26, 42, 40, 56, 30, 72, 32, 63, 48, 54, 48, 85, 38, 60, 56, 90, 42, 96, 44, 84, 78, 72, 48, 124, 50, 93, 72, 98, 54, 120, 72, 120, 80, 90, 60, 168, 62, 96, 104, 119, 84, 144, 68, 126 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(n) = n+1 iff n is prime or n is the square of a prime (A000430). - Bernard Schott, Jan 29 2021
LINKS
FORMULA
a(n) = Sum_{d|n} d * (1 - [d = n/d]), where [ ] is the Iverson bracket.
a(n) = sigma(n) - A037213(n). - David A. Corneth, Jan 30 2021
MATHEMATICA
Table[Sum[k*(1 - KroneckerDelta[k, n/k]) (1 - Ceiling[n/k] + Floor[n/k]), {k, n}], {n, 80}]
PROG
(PARI) a(n) = sumdiv(n, d, d*(d!=n/d)); \\ Michel Marcus, Jan 29 2021
(PARI) a(n) = sigma(n) - issquare(n)*sqrtint(n) \\ David A. Corneth, Jan 30 2021
CROSSREFS
Cf. A000203, A037213 (with equal instead of not equal).
Sequence in context: A331110 A188999 A186644 * A125139 A369762 A107224
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Jan 28 2021
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 September 16 23:59 EDT 2024. Contains 375984 sequences. (Running on oeis4.)