>>546
(a(1)+a(2)+…+a(k-2)+ (a(k-1)+a(k)) )^n で