Problem:
A finite integer tower is an expression of the form
a1a2a3β
β
β
anββββ
where nβ₯1 and a1β,a2β,β¦,anβ are positive integers greater than 1. (Recall that exponentiation is performed from the top down. For example, 323 equals 38, not 93.) Two towers are considered different if they have a different number of layers (values of n) or at least one pair of numbers in corresponding positions differ.
Define f(x) to be the number of different finite integer towers whose value is x. (For example, f(16)=4 because 4 towers evaluate to 16, namely 16, 24, 42, and 222.) What is f(28192)?
Answer Choices:
A. 17
B. 32
C. 42
D. 43
E. 47
Solution:
A recursion. A tower with value x is either the single number x, or it has the form aE, where aβ₯2 is the bottom number and Eβ₯2 is the value of the tower above it. So
f(x)=1+ae=xaβ₯2, eβ₯2βββf(e).
Powers of 2. If x=2t, then ae=2t forces a=2t/e, so the possible exponents are the divisors eβ₯2 of t:
f(2t)=1+eβ£teβ₯2βββf(e).
Our number. Since 8192=213, the divisors eβ₯2 of 8192 are 21,22,β¦,213, so
f(28192)=1+j=1β13βf(2j).
Computing f(2j). We need f of a few small numbers first: f(2)=f(3)=f(5)=f(6)=f(7)=f(10)=f(11)=f(12)=f(13)=1 (none of these is a perfect power), while f(4)=2 (4 and 22), f(8)=2 (8 and 23) and f(9)=2 (9 and 32). Then
f(21)f(22)f(23)f(24)f(25)f(26)f(27)f(28)f(29)f(210)f(211)f(212)f(213)β=1,=1+f(2)=2,=1+f(3)=2,=1+f(2)+f(4)=4,=1+f(5)=2,=1+f(2)+f(3)+f(6)=4,=1+f(7)=2,=1+f(2)+f(4)+f(8)=6,=1+f(3)+f(9)=4,=1+f(2)+f(5)+f(10)=4,=1+f(11)=2,=1+f(2)+f(3)+f(4)+f(6)+f(12)=7,=1+f(13)=2.β
(For example, f(24)=f(16)=4, matching the problem.) Adding,
1+2+2+4+2+4+2+6+4+4+2+7+2=42,
so
f(28192)=1+42=(D) 43.
The problems and solutions on this page are the property of the MAA's American Mathematics Competitions