proposed
approved
proposed
approved
editing
proposed
nonn,look,new
Antti Karttunen, <a href="/A342006/b342006.txt">Table of n, a(n) for n = 1..10000</a>
(PARI)
A328114(n) = { my(s=0, p=2); while(n, s = max(s, (n%p)); n = n\p; p = nextprime(1+p)); (s); };
A051903(n) = if((1==n), 0, vecmax(factor(n)[, 2]));
A327860(n) = { my(s=0, m=1, p=2, e); while(n, e = (n%p); m *= (p^e); s += (e/p); n = n\p; p = nextprime(1+p)); (s*m); };
A328391(n) = A051903(A327860(n));
isA342006(n) = (A328391(n) >= A328114(n));
(PARI) isA342006(n) = (0==A342005(n));
approved
editing
proposed
approved
editing
proposed