Numbers which are the cube roots of the product of their proper divisors: Difference between revisions
Numbers which are the cube roots of the product of their proper divisors (view source)
Revision as of 16:31, 31 March 2023
, 1 year ago→{{header|Free Pascal}}: clarify ?
(→{{header|Perl}}: prepend pascal version) |
m (→{{header|Free Pascal}}: clarify ?) |
||
Line 717:
=={{header|Pascal}}==
==={{header|Free Pascal}}===
As stated, the result are the numbers with 8 = 2^3 divisors.Therefor only numbers with prime decomposition of the form:<br>
a^7 , a^3*b ( a <> b) and a*b*c (a>b>c ( oBdA ) ), of cause all prime<br>
Avoid sorting by using an array of limit size for only marking those numbers.
<syntaxhighlight lang="pascal">
|