A334376 a(n) is the sum of digits of the n-th Moran number (A001101).
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
Examples
For n = 42: - A001101(42) = 555, - A007953(555) = 15, - hence a(42) = 15.
Programs
-
PARI
for (n=1, 1168, if (n%(s=sumdigits(n))==0 && isprime(n/s), print1 (s", ")))