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.

A054601 a(n) = Sum_{d|n, d odd} d*2^(n/d - 1), a(0)=0.

Original entry on oeis.org

0, 1, 2, 7, 8, 21, 38, 71, 128, 277, 522, 1035, 2072, 4109, 8206, 16467, 32768, 65553, 131186, 262163, 524328, 1048817, 2097174, 4194327, 8388992, 16777321, 33554458, 67109695, 134217784, 268435485, 536872638, 1073741855, 2147483648
Offset: 0

Views

Author

N. J. A. Sloane, Apr 16 2000

Keywords

Crossrefs

Programs

  • PARI
    a(n) = if (n, sumdiv(n, d, if (d%2, d*2^(n/d - 1))), 0); \\ Michel Marcus, Mar 10 2021

Formula

G.f.: Sum_{k>0} (1-(-1)^k)/2*k*x^k/(1-2*x^k). - Vladeta Jovovic, Oct 17 2003