If you end at Step6, how many Step2 are passed through?

This topic has expert replies
User avatar
Elite Legendary Member
Posts: 3991
Joined: Fri Jul 24, 2015 2:28 am
Location: Las Vegas, USA
Thanked: 19 times
Followed by:37 members
Step1 x=100, y=3
Step2 x<y? Yes -> step5, no -> step3
Step3 x -> x/2
Step4 -> step2
Step5 write down x
Step6 finish

If you end at Step6, how many Step2 are passed through?

A. three
B. four
C. five
D. six
E. seven


* A solution will be posted in two days.
Source: — Problem Solving |

Senior | Next Rank: 100 Posts
Posts: 46
Joined: Sun Dec 27, 2015 7:03 am
Thanked: 8 times
Followed by:1 members

by chetan.sharma » Thu Apr 21, 2016 6:41 am
Max@Math Revolution wrote:Step1 x=100, y=3
Step2 x<y? Yes -> step5, no -> step3
Step3 x -> x/2
Step4 -> step2
Step5 write down x
Step6 finish

If you end at Step6, how many Step2 are passed through?

A. three
B. four
C. five
D. six
E. seven


* A solution will be posted in two days.
Since it has not been answered by anyone, let me do it..

the Q basically is dividing 100 consecutively by 2..
so in a way we are asked when is 100/2^x <3, where x starts from 0 since the first time it is 100 ...
100/2^5 = 100/32 >3..
100/2^6 = 100/64 <3..THAT IS IT
x comes out as 6.. our answer is 6+1=7, including value of 0..

E

User avatar
Elite Legendary Member
Posts: 3991
Joined: Fri Jul 24, 2015 2:28 am
Location: Las Vegas, USA
Thanked: 19 times
Followed by:37 members

by Max@Math Revolution » Wed Apr 27, 2016 12:44 am
Step1 x=100, y=3
Step2 x<y? Yes -> step5, no -> step3
Step3 x -> x/2
Step4 -> step2
Step5 write down x
Step6 finish

If you end at Step6, how many Step2 are passed through?

A. three
B. four
C. five
D. six
E. seven

==> x=100(once), x=50(twice), x=25(three times), x=12.5(four times), x=6.25(five times), x=3.125(six times), x=3.125/2(seven times)
Hence, E is the answer.