For every natural number x, let P(x) be the product of the digits of the number x. Is there a natural number n such that the numbers P(n) and P(n2) are non-zero squares of natural numbers, where the number of digits of the number n is equal to
a. 2021
b. 2022
Solution
The answers are affirmative in both cases.
a. Take n=33⋯3201968. Then P(n)=(4⋅31010)2. Also, n2=(3102021−1+35)2=9(102021+104)2=9104042+208⋅102021+10816=9104042−102021+209⋅9102021−1+1225=20211⋯120210⋯0+20212⋯2202100+20219⋯9+1225=20191⋯12019332⋯200+102021+1224=20191⋯12017342⋯23424. Thus P(n2)=(3⋅22012)2.
b. Take n=1133⋯32020. Then P(n)=(31010)2. Also, n2=9(34⋅102020−1)2=91156⋅104040−68⋅102020+1=128⋅104040+94(104040−102020)−7⋅102020−9102020−1=1280⋯04040+4⋯40⋯02020−7⋅102020−20201⋯1=1284⋯4368⋯8920182019. Thus P(n2)=(9⋅25049)2.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: MathNet,
licensed CC-BY-4.0.
Statement and solution reproduced as published; topic and difficulty added by this site.