We consider a natural numberpwithkdigits,, is magical only when it satisfies: Every number composed by leading digits ofpcan be divisible by the number of its digits. More formally,i∈[1,k],. For example, 123is magical, because1|1,2|12,3|123. However,124is not magical, because 3124. Every digit can be composed with match sticks in the following ways. What is the largest posible magical number you can compose with exactly n match sticks?
We consider a natural number p withk digits,, is magical only when it satisfies: Every number composed by leading digits of p can be divisible by the number of its digits. More formally,∀i∈[1,k],. For example, 123 is magical, because1|1, 2|12, 3|123. However,124 is not magical, because 3∤124. Every digit can be composed with match sticks in the following ways. What is the largest posible magical number you can compose with exactly n match sticks?
(图片来源网络,侵删)