S = 1 + 2 + 22 + 23 + ... + 299
2S = 2 + 22 + 23 + 24 + ... + 2100
2S - S = (2 + 22 + 23 + 24 + ... + 2100) - (1 + 2 + 22 + 23 + ... + 299)
S = 2100 - 1
=> S + 1 = 2100 - 1 + 1 = (22)50 - 1 + 1 = 450
=> 4n + 2 = 450
=> n + 2 = 50
=> n = 50 - 2
=> n = 48
Ta có :
S = 1 + 2 + 22 + 23 + ... + 299 ( 1 )
2S = 2 + 22 + 23 + 24 + ... + 2100 ( 2 )
Lấy ( 2 ) - ( 1 ), ta có :
2S - S = ( 2 + 22 + 23 + 24 + ... + 2100 ) - ( 1 + 2 + 22 + 23 + ... + 299 )
S = 2100 - 1
S + 1 = 2100 = ( 22)50 = 450
4n + 2 = 450
n + 2 = 50
n = 50 - 2
n = 48