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.

A305436 Number of divisors of n of the form 2^k + 1 for k >= 0.

Original entry on oeis.org

0, 1, 1, 1, 1, 2, 0, 1, 2, 2, 0, 2, 0, 1, 2, 1, 1, 3, 0, 2, 1, 1, 0, 2, 1, 1, 2, 1, 0, 3, 0, 1, 2, 2, 1, 3, 0, 1, 1, 2, 0, 2, 0, 1, 3, 1, 0, 2, 0, 2, 2, 1, 0, 3, 1, 1, 1, 1, 0, 3, 0, 1, 2, 1, 2, 3, 0, 2, 1, 2, 0, 3, 0, 1, 2, 1, 0, 2, 0, 2, 2, 1, 0, 2, 2, 1, 1, 1, 0, 4, 0, 1, 1, 1, 1, 2, 0, 1, 3, 2, 0, 3, 0, 1, 2
Offset: 1

Views

Author

Antti Karttunen, Jun 11 2018

Keywords

Comments

a(n) is the number of terms of A000051 that divide n.

Crossrefs

Cf. A000051, A209229, A292315 (positions of zeros), A305435, A323482.
Cf. also A154402.

Programs

Formula

a(n) = Sum_{d|n} A209229(d-1).
a(n) = A305435(n) + A209229(n-1).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = A323482 = 1.264499... . - Amiram Eldar, Dec 31 2023