Stick picking is a game for two players. The game starts with N sticks. The players take turns picking sticks from the pile. The player who picks the last stick wins.
The fastest way to win would, of course, be to just pick all the sticks immediately, but in most cases that is not allowed. On each turn, a player may do one of the following:
A number N is a winning number if the player faced with N sticks on the table can force a win, provided they do not make a mistake.
A number N is a losing number if the player faced with N sticks on the table will lose, provided the other player does not make a mistake.
For instance, 2 is a losing number. The player faced with 2 sticks on the table can only pick 1 stick, leaving 1 stick for the other player, who then wins.
Consequently, 4 is a winning number. The player faced with 4 sticks on the table can pick 1/2 of the sticks, leaving the losing number 2 for the other player.
How many of the whole numbers from 1 through 2026 are winning numbers?