%I #12 Feb 04 2022 22:36:48
%S 0,0,0,0,0,1,0,-1,-1,0,0,0,0,0,0,-3,0,1,0,2,1,1,0,-1,0,1,1,-1,0,0,0,
%T -2,1,2,1,0,0,2,1,-1,0,1,0,1,-1,3,0,-1,0,0,2,2,0,0,1,0,2,0,0,1,0,0,1,
%U 0,2,1,0,0,3,3,0,2,0,0,2,1,2,1,0,1,-1,1,0,2,2,1,0,1,0,2,2,1,1,2,3,-3,0,0,0,2,0,2,0,2,1
%N Difference between {the maximal digit value in primorial base expansion of the arithmetic derivative of n} and {the maximal exponent in the prime factorization of n}.
%H Antti Karttunen, <a href="/A351097/b351097.txt">Table of n, a(n) for n = 1..30030</a>
%F a(n) = A328390(n) - A051903(n) = A051903(A327859(n)) - A051903(n).
%o (PARI)
%o A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1]));
%o A051903(n) = if((1==n),0,vecmax(factor(n)[, 2]));
%o A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); };
%o A327859(n) = A276086(A003415(n));
%o A351097(n) = (A051903(A327859(n)) - A051903(n));
%Y Cf. A003415, A051903, A276086, A327859, A328390, A351098 (positions of negative terms), A351099.
%Y Cf. also A350074, A351074.
%K sign
%O 1,16
%A _Antti Karttunen_, Feb 03 2022
|