✔ 最佳答案
設P(n) 為:對一切正數 n,1/2+ 3/2^2+ 5/2^3+...+2n-1/2^n = 3- (2n+3)/2^n
當n=1, LHS = 1/2; RHS = 3 - (2 + 3)/2 = 1/2 = LHS
假設 P(k)為真,即1/2+ 3/2^2+ 5/2^3+...+ (2k-1)/2^k = 3- (2k+3)/2^k
當n = k + 1 時, 1/2+ 3/2^2+ 5/2^3+...+ (2k-1)/2^k +(2k + 1)/2^(k + 1)
= 3- (2k+3)/2^k + (2k + 1)/2^(k + 1)
= 3 - [2(2k + 3) - (2k + 1)]//2^(k +1)
= 3 - (2k + 5)//2^(k +1)
= 3 - [2(k + 1) + 3]//2^(k +1) => P(k + 1)為真
因此以數學歸納法得證