A sequence with satisfies
for all positive integers
Let denote the number of positive integers such that is an integer.
Given where are positive integers, with not a multiple of find
This problem has been modified by me, and is a part of <Grade 11 CSAT Mock test> series .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Since ( n − 1 ) ( n − 3 ) a n = i = 1 ∑ n − 1 a i , we have
n ( n − 2 ) a n + 1 − ( n − 1 ) ( n − 3 ) a n = a n n ( n − 2 ) a n + 1 = { ( n − 1 ) ( n − 3 ) + 1 } a n = ( n − 2 ) 2 a n n a n + 1 = ( n − 2 ) a n ( n = 2 ) n ( n − 1 ) a n + 1 = ( n − 1 ) ( n − 2 ) a n ( n = 2 ) ( n − 1 ) ( n − 2 ) a n = b n b n + 1 = b n = ⋯ = b 3 = 6 4 a n = ( n − 1 ) ( n − 2 ) 6 4 . ( n ≥ 3 )
Therefore, we have a n 1 = 6 4 ( n − 1 ) ( n − 2 ) . ( n ≥ 3 )
If g cd ( k − 1 , 6 4 ) = 1 , then k is an odd number, which means g cd ( k − 2 , 6 4 ) = 1 .
Same applies for when g cd ( k − 2 , 6 4 ) = 1 .
Hence, either k − 1 is a multiple of 6 4 , or k − 2 is a multiple of 6 4 .
This means k = 1 + 6 4 m or k = 2 + 6 4 m .
Note that k = 1 and k = 2 also satisfies the given condition, and with 6 4 1 0 2 0 × 2 = 3 1 2 5 × 1 0 1 5 , we can conclude that
S ( 1 0 2 0 ) = 3 1 2 5 × 1 0 1 5 ,
so that p + q = 3 1 2 5 + 1 5 = 3 1 4 0 .