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!)
A321259 a(n) = sigma_n(n) - n^n. 2
0, 1, 1, 17, 1, 794, 1, 65793, 19684, 9766650, 1, 2194095090, 1, 678223089234, 30531927033, 281479271743489, 1, 150196195641350171, 1, 100000096466944316978, 558545874543637211, 81402749386839765307626, 1, 79501574308536809523296482, 298023223876953126 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
a(n) is the sum of n-th powers of proper divisors of n.
LINKS
Eric Weisstein's World of Mathematics, Proper divisors
FORMULA
G.f.: Sum_{k>=1} (k*x)^(2*k)/(1 - (k*x)^k).
a(n) = A023887(n) - A000312(n).
a(n) = A321258(n,n).
a(n) = 1 if n is prime.
MATHEMATICA
Table[DivisorSigma[n, n] - n^n, {n, 25}]
nmax = 25; Rest[CoefficientList[Series[Sum[(k x)^(2 k)/(1 - (k x)^k), {k, 1, nmax}], {x, 0, nmax}], x]]
PROG
(Magma) [DivisorSigma(n, n) - n^n: n in [1..30]]; // Vincenzo Librandi, Nov 02 2018
(PARI) a(n) = sigma(n, n) - n^n; \\ Michel Marcus, Nov 02 2018
CROSSREFS
Sequence in context: A295576 A223519 A139804 * A352073 A159996 A368394
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Nov 01 2018
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 19 05:19 EDT 2024. Contains 371782 sequences. (Running on oeis4.)