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