--- from: http://rosettacode.org/wiki/Sylvester's_sequence