login
A328389
Maximal digit value in primorial base expansion of A276086(n): a(n) = A328114(A276086(n)).
13
1, 1, 1, 1, 1, 3, 2, 2, 2, 1, 2, 3, 4, 3, 2, 5, 2, 2, 4, 2, 5, 4, 5, 10, 6, 6, 8, 6, 5, 9, 1, 2, 3, 2, 2, 4, 2, 2, 3, 1, 3, 3, 5, 4, 3, 5, 7, 4, 4, 8, 3, 3, 4, 9, 9, 8, 7, 11, 4, 8, 3, 3, 4, 4, 3, 4, 2, 2, 3, 7, 10, 10, 5, 4, 6, 3, 8, 9, 7, 5, 10, 10, 10, 8, 5, 5, 8, 6, 9, 7, 4, 4, 6, 9, 4, 7, 8, 5, 3, 5, 7, 4, 7, 7, 11, 9
OFFSET
0,6
FORMULA
a(n) = A328114(A276086(n)).
a(n) = A051903(A276087(n)).
PROG
(PARI)
A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); };
A328114(n) = { my(s=0, p=2); while(n, s = max(s, (n%p)); n = n\p; p = nextprime(1+p)); (s); };
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 15 2019
STATUS
approved