Problem:
The sequence (anβ) is defined recursively by a0β=1,a1β=192β, and anβ=anβ1βanβ22β for nβ₯2. What is the smallest positive integer k such that the product a1βa2ββ―akβ is an integer?
Answer Choices:
A. 17
B. 18
C. 19
D. 20
E. 21 Solution:
Express each term of the sequence (anβ) as 219bnββ. (Equivalently, let bnβ be the logarithm of anβ to the base 192β.) The recursive definition of the
sequence (anβ) translates into b0β=0,b1β=1, and bnβ=bnβ1β+2bnβ2β for nβ₯2. Then the product a1βa2ββ―akβ is an integer if and only if βi=1kβbiβ is divisible by 19. Let cnβ=bnβmod19. It follows that a1βa2ββ―akβ is an integer if and only if pkβ=βi=1kβciβ is divisible by 19 . Let qkβ=pkβmod19. Because the largest answer choice is 21 , it suffices to compute ckβ and qkβ successively for k from 1 up to at most 21 , until qkβ first equals 0 . The modular computations are straightforward from the definitions.
Using standard techniques, the recurrence relation for bnβ can be solved to get bnβ=31β(2nβ(β1)n). Let Skβ=b1β+b2β+β―+bkβ. Then it is straightforward to show that Skβ=31β(2k+1β1) for k odd, and Skβ=32β(2kβ1) for k even. Let Pkβ=a1βa2ββ―akβ. It follows that, for k odd, Pkβ is an integer if and only if 19 divides 2k+1β1; and, for k even, Pkβ is an integer if and only if 19 divides 2kβ1. A little computation shows that this first occurs at k=17, when 218β1=218β1=(29β1)(29+1)=511β 513=511β 19β 27. (In fact, one can show that Pkβ is an integer if and only if k is congruent to 0 or β1mod18.)