Solution:
The first number Haruka entered is 1 .
From Rule-1, the series will be 2,4,8,16
From Rule 2, 16 will be followed by 7
Like-wise, the series will be 1,2,4,8,16,7,14,5,10,1,2,4,.......
The series is repeating itself for every 9 iterations.
Initially, input is 1 and after first iteration, result is 2.
This implies,
9n=1
9n+1=2
9n+2=4
.
.
.
.
.
9n+7=5
9n+8=10
In the question, it is given that key is pressed 68 times.
68=9(7)+5
68 is in the form of 9n+5
This implies, 7 is the output.
The answer is option A.
© examsnet.com