Problem:
Consider the following operation. Given a positive integer n, if n is a multiple of 3 , then you replace n by 3nβ. If n is not a multiple of 3 , then you replace n by n+10. Then continue this process. For example, beginning with n=4, this procedure gives 4β14β24β8β18β6β2β12ββ―. Suppose you start with n=100. What value results if you perform this operation exactly 100 times?
Answer Choices:
A. 10
B. 20
C. 30
D. 40
E. 50
Solution:
The first several iterations give
100β110β120β40β50β60β20β30β10β20β30β10ββ―
The values will then continue to cycle through 20β30β10. Note that the value 20 occurs after 6,9,12,15,β¦ operations; the value 30 occurs after 7,10,13,16,β¦ operations; and the value 10 occurs after 8,11,14,17,β¦ operations. Because 100 has remainder 1 when divided by 3 , the value after 100 operations is (c)30β.
The problems on this page are the property of the MAA's American Mathematics Competitions