%I #12 Aug 12 2020 01:28:47
%S 1,1,4,49,128,9,36864,19332,4508,121,2
%N Least m coprime to 5 minimizing A007947(m*(5^n-m)).
%C The minima are given in A147800.
%C This is related to the abc conjecture: Since m is coprime to 5, it is also coprime to 5^n and thus to 5^n-m. Thus the squarefree kernel A007947(m*(5^n-m)*5^n) = 5*A007947(m*(5^n-m)).
%o (PARI) A147803(n,p=5) = {my(b, m=n=p^n); for(a=1, n\2, a%p || next; A007947(n-a)*A007947(a)<m || next; m=A007947((n-a)*b=a)); b; }
%Y Cf. A007947, A147298 (general case), A147800 (value of minima), A143700 (analog for 2^n), A147802 (analog for 3^n), A147300 (analog for any number).
%K nonn,more
%O 1,3
%A _M. F. Hasler_, Nov 13 2008