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.

A338506 a(n) is the number of subsets of divisors of n.

Original entry on oeis.org

2, 4, 4, 8, 4, 16, 4, 16, 8, 16, 4, 64, 4, 16, 16, 32, 4, 64, 4, 64, 16, 16, 4, 256, 8, 16, 16, 64, 4, 256, 4, 64, 16, 16, 16, 512, 4, 16, 16, 256, 4, 256, 4, 64, 64, 16, 4, 1024, 8, 64, 16, 64, 4, 256, 16, 256, 16, 16, 4, 4096, 4, 16, 64, 128, 16, 256, 4, 64
Offset: 1

Views

Author

Rémy Sigrist, Oct 31 2020

Keywords

Comments

In contrast to A100587, we take into account the empty set.

Examples

			For n = 6:
- 6 has 4 divisors,
- so a(n) = 2^4 = 16.
		

Crossrefs

Programs

  • Mathematica
    Table[2^DivisorSigma[0, n], {n, 68}]
  • PARI
    a(n) = 2^numdiv(n)

Formula

a(n) = 2^A000005(n) = A100587(n) + 1.