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