The value of ∑nr−1{(2r−1)a+1br}is equal to
The arithmetic mean of a and b is an+bnan−1+bn−1. The value of n is