Simbers

Problem Statement

We define a simber to be a positive integer in which any odd digit, if present, occurs an odd number of times, and any even digit, if present, occurs an even number of times.

For example, $141221242$ is a $9$-digit simber because it has three $1$'s, four $2$'s and two $4$'s.

Let $Q(n)$ be the count of all simbers with at most $n$ digits.

You are given $Q(7) = 287975$ and $Q(100) \bmod 1\,000\,000\,123 = 123864868$.

Find $(\sum_{1 \le u \le 3^N} Q(2^u)) \bmod 1\,000\,000\,123$.

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

🥇 icy
99.90 (100)
🥈 shs10978
99.90 (100)
🥉 liuguangxi
99.90 (100)
4 mmtg
0.10 (1)

Data

Stats

Your submissions will appear here

Recent Submissions

1
mmtg
$g(1)$, $1$ digits 2 days, 17 hours ago
2
liuguangxi
$g(100)$, $9$ digits 2 weeks, 2 days ago
3
liuguangxi
$g(99)$, $9$ digits 2 weeks, 2 days ago
4
liuguangxi
$g(98)$, $9$ digits 2 weeks, 2 days ago
5
liuguangxi
$g(97)$, $9$ digits 2 weeks, 2 days ago