Proper divisors: Difference between revisions

m
Line 180:
 
=={{header|Ada}}==
The first part of the task is to ''create a routine to generate a list of the proper divisors''. To ease the re-use of this routine for other tasks, such as the ''Abundant, Deficient and Perfect Number Classification''
[[http://rosettacode.org/wiki/Abundant,_deficient_and_perfect_number_classifications#Ada]] and the ''Amicable Pairs'' ,
''Abundant Odd Number''
[[http://rosettacode.org/wiki/Abundant_odd_numbers#Ada]],
and ''Amicable Pairs''
[[http://rosettacode.org/wiki/Amicable_pairs#Ada]], we define this routine as a function of a generic package:
 
Anonymous user