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.

A334376 a(n) is the sum of digits of the n-th Moran number (A001101).

Original entry on oeis.org

9, 3, 9, 6, 9, 9, 12, 3, 6, 9, 7, 8, 9, 12, 9, 10, 15, 18, 3, 9, 11, 6, 12, 13, 9, 14, 15, 9, 10, 12, 21, 6, 11, 9, 12, 15, 13, 7, 12, 14, 9, 15, 18, 16, 9, 17, 15, 18, 9, 10, 12, 18, 18, 21, 9, 11, 12, 18, 24, 15, 18, 27, 3, 8, 9, 10, 15, 18, 3, 7, 9, 12, 16
Offset: 1

Views

Author

Rémy Sigrist, Apr 25 2020

Keywords

Examples

			For n = 42:
- A001101(42) = 555,
- A007953(555) = 15,
- hence a(42) = 15.
		

Crossrefs

Programs

  • PARI
    for (n=1, 1168, if (n%(s=sumdigits(n))==0 && isprime(n/s), print1 (s", ")))

Formula

a(n) = A007953(A001101(n)).