![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/4704930_1672539950630_DEF.jpg)
Anonymous User
Unknown
自 2014 起处于活动状态
Followers: 0 Following: 0
Halo
Feeds
已解决
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
10 years 前