--- from: http://rosettacode.org/wiki/Magnanimous_numbers note: Prime Numbers