--- from: http://rosettacode.org/wiki/Bernoulli_numbers note: Mathematics