OFFSET
1,2
COMMENTS
Multiplicative digital root of A000203(n).
EXAMPLE
For n = 12: sigma(12) = 28; a(n) = 6 because 2 * 8 = 16; 1 * 6 = 6.
MAPLE
m:= n-> `if`(n<10, n, m(mul(d, d=convert(n, base, 10)))):
a:= n-> m(numtheory[sigma](n)):
seq(a(n), n=1..100); # Alois P. Heinz, Jul 21 2018
PROG
(PARI) a031347(n) = while(n>9, n=prod(i=1, #n=digits(n), n[i])); n;
a(n) = a031347(sigma(n)); \\ Michel Marcus, Jul 07 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Jul 07 2018
STATUS
approved