n = 10 sum(1, 5, 2n) = 30 and n = 10