Hop on over

Logic Level 3

Brilli the bug is constrained to move on a number line ranging [,][-\infty ,\infty ]. It starts at 0 and can go either left or right but moves in a way such that the iith 's move it takes ii steps.

What is the minimum number of moves required to reach 32 on the number line.

Details and Assumptions:

  • As an explicit example to reach position 33 it takes a minimum of 22 moves 0130\rightarrow 1 \rightarrow 3

  • The ii-th move can be done with as a combination of left and right movement


Problem Loading...

Note Loading...

Set Loading...