--- from: http://rosettacode.org/wiki/Juggler_sequence