PROJECT EULER · #0400
Fibonacci Tree Game
A Fibonacci tree is a binary tree recursively defined as:
is the empty tree. is the binary tree with only one node. consists of a root node that has and as children.
On such a tree two players play a take-away game. On each turn a player selects a node and removes that node along with the subtree rooted at that node.
The player who is forced to take the root node of the entire tree loses.
Here are the winning moves of the first player on the first turn for

For example,
Find
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.