A004429 Geometric mean of digits of n (rounded to nearest integer).
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 0, 1, 2, 2, 3, 3, 3, 4, 4, 4, 0, 2, 2, 3, 3, 4, 4, 5, 5, 5, 0, 2, 3, 3, 4, 4, 5, 5, 6, 6, 0, 2, 3, 4, 4, 5, 5, 6, 6, 7, 0, 2, 3, 4, 5, 5, 6, 6, 7, 7, 0, 3, 4, 5, 5, 6, 6, 7, 7, 8, 0, 3, 4, 5, 6, 6, 7, 7, 8, 8, 0, 3, 4, 5, 6, 7, 7, 8, 8, 9, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 0
Programs
-
PARI
A004429(n)=round(sqrtn(prod(i=1,#n=digits(n),n[i]),#n)) \\ M. F. Hasler, May 10 2015