Let A={1,2,3,…,100} and R be a relation on A such that R={(a,b):a=2b+1}. Let (a1,a2),(a2,a3),(a3,a4),…,(ak,ak+1) be a sequence of elements of R such that the second entry of an ordered pair equals the first entry of the next ordered pair. Then the largest integer k for which such a sequence exists, is equal to:
Solutions · 1
Official solution
Each ai=2ai+1+1. Unrolling the recursion:
a1=2kak+1+(2k−1)
For ak+1∈A to be a positive integer, 2k must divide (a1+1), with a1≤100 (so a1+1≤101).
The largest power of 2 that can divide some (a1+1)≤101 while keeping ak+1≥1 works out to 25=32 (giving k=5), realized by the concrete chain:
(95,47),(47,23),(23,11),(11,5),(5,2)
Here a1=95: 95=2⋅47+1, 47=2⋅23+1, 23=2⋅11+1, 11=2⋅5+1, 5=2⋅2+1 --- a valid chain of length k=5, and this is the maximum achievable.