If the sum of m terms of an arithmetical progression is equal to the sum of either the next n terms or the next p terms, then (n+mn−m)(p−mp+m) is-