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.

A074225 a(n) = n * Sum_{d|n} d*2^(d-1).

Original entry on oeis.org

1, 10, 39, 148, 405, 1254, 3143, 8488, 20853, 52050, 123915, 297804, 692237, 1611974, 3687795, 8405584, 18939921, 42512562, 94634003, 209819940, 462431697, 1015269486, 2218786839, 4832458392, 10485762025, 22684180610, 48922424415, 105229923596
Offset: 1

Views

Author

N. J. A. Sloane, Jun 15 2003

Keywords

Crossrefs

Equals n*A083413(n).

Programs

  • Mathematica
    a[n_] := n*DivisorSum[n, #*2^(#-1)&]; Array[a, 30] (* Jean-François Alcover, Dec 03 2015 *)
  • PARI
    vector(100, n, n*sumdiv(n, d, d*2^(d-1))) \\ Colin Barker, Jan 29 2015