Euler 61 Cyclical figurate numbers