Jump to content

Numbers which are the cube roots of the product of their proper divisors: Difference between revisions

m
Line 21:
 
=={{header|J}}==
Note that the cube root of the product of the proper divisors is the fourth root of the product of all divisors of a positive integer. That said, we do not need to find roots here:
<syntaxhighlight lang=J>F=: ('';1 1 1;1 3;,7) e.~ __ <@/:~@{:@q:"0 ]</syntaxhighlight>
 
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.