Number theoryDifficulty 5.3AIME, harderFind the answer
Let a sequence {an}n=0∞ be defined by a0=2,a1=2, and an+1=anan−12 for n≥1. The sequence of remainders when a0,a1,a2,⋯ are divided by 2014 is eventually periodic with some minimal period p (meaning that am=am+p for all sufficiently large integers m, and p is the smallest such positive integer). Find p.
A number or a short expression. Spacing and $ signs are ignored.
Solution
Let an=2bn, so notice b1=1,b2=2, and bn+1=bn+2bn−1 for n≥1, so by inspection bn=2n−1 for all n; thus an=22n−1.2014=2⋅19⋅53 so we just want to find the lcm of the eventual periods of 2nmodord19(2) and ord53(2). These orders divide 18 and 52 respectively, and we can manually check ord9(2)=6 and ord13(2)=12. The 1 cm of these is 12, so to show the answer is 12, it suffices to show that 13∣ord53(2). This is true since 24≡1(mod53). So, the answer is 12.
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: Omni-MATH,
licensed Apache-2.0.
Statement and solution reproduced as published; topic and difficulty added by this site.