Arithmetic/Rational: Difference between revisions

Content added Content deleted
(→‎Common Lisp: new example)
(crosslink to Perfect Numbers)
Line 20: Line 20:
Use the new type '''frac''' to find all perfect numbers less then 2<sup>19</sup>
Use the new type '''frac''' to find all perfect numbers less then 2<sup>19</sup>
by summing the reciprocal of the factors.
by summing the reciprocal of the factors.

===See also===
* [[Perfect Numbers]]

__TOC__

=={{header|Ada}}==
=={{header|Ada}}==
The generic package specification:
The generic package specification: