Grundy's Game

Grundy's game is a two-player impartial game. Starting with a single pile of n stones, a move consists of splitting a pile into two non-empty piles of different sizes. The player who cannot make a move loses. Determine if the first player has a winning strategy.

Examples
Input: 6
Output: true
Hints

Grundy's Game

Grundy's game is a two-player impartial game. Starting with a single pile of `n` stones, a move consists of splitting a pile into two non-empty piles of different sizes. The player who cannot make a move loses. Determine if the first player has a winning strategy.