- Make a method that takes an Int and returns an array of steps to get to 1.
- The game goes as follows: Start with the given Int and, if it is divisible by 3, divide it by 3, otherwise ADD OR SUBTRACT 1 (whichever makes the number divisible by 3, then divide it.
- Repeat step 2, until you reach 1.
Example:
Input: 100
Output: [100, 33, 11, 4, 1]