sum k^(2k) from 1 to 40