Removing Digits

Problem Statement

This game starts with a positive integer. Two players take turns to remove a single digit from that integer. After the digit is removed any resulting leading zeros are removed.

For example, removing a digit from $105$ results in either $5$, $10$ or $15$.

The winner is the person who removes the last nonzero digit.

Define $W(N)$ to be how many positive integers less than $N$ for which the first player can guarantee a win given optimal play. You are given $W(100) = 18$ and $W(10^4) = 1656$.

Find $W(10^{N^N}) \bmod 10^9$.

Submit Answers

You need to submit in the format: "N:problem(N)", possibly with multiple values at once, separated by commas, with $N$ between $1$ and $100$.

Top Users

🥇 liuguangxi
100.00 (100)
🥈 shs10978
100.00 (100)
🥉 icy
100.00 (100)
4 jonnytang
1.00 (2)

Data

Stats

Your submissions will appear here

Recent Submissions

1
icy
$g(100)$, $9$ digits 3 weeks ago
2
icy
$g(99)$, $9$ digits 3 weeks ago
3
icy
$g(98)$, $7$ digits 3 weeks ago
4
icy
$g(97)$, $9$ digits 3 weeks ago
5
icy
$g(96)$, $9$ digits 3 weeks ago