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.

A306509 a(n) is the number of divisors of the sum of digits of n.

Original entry on oeis.org

1, 2, 2, 3, 2, 4, 2, 4, 3, 1, 2, 2, 3, 2, 4, 2, 4, 3, 4, 2, 2, 3, 2, 4, 2, 4, 3, 4, 2, 2, 3, 2, 4, 2, 4, 3, 4, 2, 6, 3, 2, 4, 2, 4, 3, 4, 2, 6, 2, 2, 4, 2, 4, 3, 4, 2, 6, 2, 4, 4, 2, 4, 3, 4, 2, 6, 2, 4, 4, 2, 4, 3, 4, 2, 6, 2, 4, 4, 5, 4, 3, 4, 2, 6, 2, 4, 4, 5, 2, 3, 4, 2
Offset: 1

Views

Author

Ctibor O. Zizka, Feb 20 2019

Keywords

Examples

			a(17) = A000005(A007953(17)) = A000005(8) = 4.
		

Crossrefs

Programs

  • Mathematica
    Table[DivisorSigma[0,Total[IntegerDigits[n]]],{n,120}] (* Harvey P. Dale, Aug 03 2021 *)
  • PARI
    a(n) = numdiv(sumdigits(n)); \\ Michel Marcus, Feb 20 2019

Formula

a(n) = A000005(A007953(n)).
a(10*n) = a(n). - Rémy Sigrist, Feb 25 2019