%I #8 Sep 04 2023 16:39:31
%S 0,0,1,0,4,1,2,0,6,4,8,1,6,2,3,0,12,6,18,4,10,8,4,1,16,6,9,2,8,3,2,0,
%T 15,12,24,6,28,18,9,4,18,10,12,8,12,4,8,1,10,16,20,6,16,9,12,2,12,8,
%U 16,3,6,2,6,0,24,15,40,12,27,24,12,6,40,28,25,18,12,9,18,4,28,18,18,10,25,12,25,8,20,12,18,4
%N a(n) = A331410(n) * A331410(A163511(n)).
%H Antti Karttunen, <a href="/A365387/b365387.txt">Table of n, a(n) for n = 1..65537</a>
%F a(n) = A331410(n) * A365385(n).
%o (PARI)
%o A163511(n) = if(!n, 1, my(p=2, t=1); while(n>1, if(!(n%2), (t*=p), p=nextprime(1+p)); n >>= 1); (t*p));
%o A331410(n) = if(!bitand(n,n-1),0,1+A331410(n+(n/vecmax(factor(n)[, 1]))));
%o A365387(n) = (A331410(n)*A331410(A163511(n)));
%Y Cf. A163511, A331410, A365385.
%Y Cf. also A334873.
%K nonn
%O 1,5
%A _Antti Karttunen_, Sep 03 2023