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.

A046798 Number of divisors of 2^n + 1.

Original entry on oeis.org

2, 2, 2, 3, 2, 4, 4, 4, 2, 8, 6, 4, 4, 4, 8, 12, 2, 4, 16, 4, 4, 12, 8, 4, 8, 16, 16, 20, 4, 8, 48, 4, 4, 24, 16, 32, 16, 8, 16, 12, 4, 8, 64, 4, 8, 64, 32, 8, 8, 8, 64, 48, 8, 8, 64, 48, 8, 24, 8, 16, 16, 4, 32, 64, 4, 64, 64, 8, 12, 24, 96, 8, 32, 8, 32, 96, 16, 64, 768, 4, 8, 192, 32, 64
Offset: 0

Views

Author

Keywords

Comments

a(n) is odd iff n = 3, as a consequence of the Catalan-Mihăilescu theorem. - Bernard Schott, Oct 05 2021

Examples

			a(7)=4, because 2^7 + 1 = 129 has 4 divisors.
		

Crossrefs

Programs

Formula

a(n) = A000005(A000051(n)). - Michel Marcus, Mar 18 2017