cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A359700 a(n) = Sum_{d|n} d^(d + n/d - 1).

Original entry on oeis.org

1, 5, 28, 265, 3126, 46754, 823544, 16778273, 387420733, 10000015690, 285311670612, 8916100733146, 302875106592254, 11112006831323074, 437893890380939688, 18446744073843786241, 827240261886336764178, 39346408075300026047027
Offset: 1

Views

Author

Seiichi Manyama, Jan 11 2023

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := DivisorSum[n, #^(# + n/# - 1) &]; Array[a, 20] (* Amiram Eldar, Aug 14 2023 *)
  • PARI
    a(n) = sumdiv(n, d, d^(d+n/d-1));
    
  • PARI
    my(N=20, x='x+O('x^N)); Vec(sum(k=1, N, (k*x)^k/(1-k*x^k)))

Formula

G.f.: Sum_{k>0} (k * x)^k / (1 - k * x^k).
If p is prime, a(p) = 1 + p^p.