Problem 865
Triplicate Numbers
A triplicate number is a positive integer such that, after repeatedly removing three consecutive identical digits from it, all its digits can be removed.
For example, the integer
On the other hand, neither
Let
For example,
Find
三消数
对于任意正整数,不断地从中消除连续三个相同数字,若最终可以将其完全消除,则称之为三消数。
例如,整数
反之,
记
例如,
求
Be the first person to leave a comment!