Take FREE!! Online AMCAT Mock Test to Crack Wipro NLTH, Capgemini, etc.
Get Off-Campus Placement Jobs Info !!!
Practice Given Here Wipro NLTH Practice Q&A

Quantitative Aptitude :: Problems on Numbers - Discussion

Home > Quantitative Aptitude > Problems on Numbers > MCQs Questions Discussion

74 / 145

Choose the correct option.

Mr. Bean chooses a number and he keeps on doubling the number followed by subtracting one from it, if he chooses 3 as initial number and he repeats the operation for 30 times then what is the final result?

A(2^30) - 1

B(2^30) - 2

C(2^31) - 1

D(2^31) + 2

Answer: Option (Login/Signup)

Show Explanation

Step 1: (3 * 2) - 1 = 5 ( 2^2 + 1)

Step 2: (5 * 2) - 1 = 9 (2^3 + 1)

Step 3: (9 * 2) - 1 = 17 (2^4 + 1)

Step 4: (17 * 2) - 1 = 33 (2^5 + 1)

So After 30 steps we have 2^31 + 1

Asked In :: TCS

Post Your Answer Here:     

No Discussion on this question yet!