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