Consider a sequence, a 1 , a 2 , … , a n such that
a t + 1 = a t + 3 ⌊ 2 t − 1 ⌋ , a 1 = 1
There are a few values of a n , for which the set { a i ∣ 1 ≤ i ≤ n } is equal to the set of divisors of a n . Find the number of values of 1 ≤ n < 1 0 which satisfy the given condition.
Notation: ⌊ ⋅ ⌋ denotes the floor function .
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.
n=1, sequence is 1, and since 1 has only factor 1, this satisfies
From now onwards only even numbers are possible as if number is odd, 2nd term 2 cant satisfy.
Surprisingly, each even term has this property. I am listing the sequences.
1,2
1,2,3,6
1,2,3,6,9,18
1,2,3,6,9,18,27,54
So in total there are 5 values of n, hence the answer.
Note
The pattern is indeed true for all even n's. Proof:
Series is 2 0 3 0 , 2 1 3 0 , 2 0 3 1 , 2 1 3 1 , 2 0 3 2 , 2 1 3 2 , . . .
Let for some n , all its factors are listed and a n is even.
a n + 1 is odd. So 2 cant be its factor. So it cant be true for n + 1 .
a n + 2 is even, and from the above series we know that a n + 2 = 2 a n + 1 = 3 a n + 2 .
So a n + 2 , a n + 2 / 2 , a n + 2 / 3 , a n ′ s factors all are listed and these are the only possible factors for a n + 2 .
So if for any even n , if our supposition is true, it is true for all even numbers by Principle of Mathematical Induction. And we can see n = 2 clearly satisfies. Hence proved.
Can u explain this property .I can not understand what u mean to say ?
Log in to reply
See the last number in each sequence, all of its factors are in the series
Why is this problem level 5 ? Is it that hard ?
Problem Loading...
Note Loading...
Set Loading...
Observe that the first few terms of the sequence is 1 , 2 , 3 , 6 , 9 , 1 8 , 2 7 , 5 4 , … . We seem to be getting the powers of 3 and twice the powers of 3.
Claim: The closed form of the sequence is
a n = { 3 k 2 × 3 k n = 2 k + 1 n = 2 k + 2
Proof: We will prove this by induction. The base case n = 1 = 2 × 0 + 1 is true since 1 = a 1 = 3 0 .
If n = 2 k , then a 2 k + 1 = a 2 k + 3 ⌊ 2 2 k − 1 ⌋ = 2 × 3 k − 1 + 3 k − 1 = 3 k .
If n = 2 k + 1 , then a 2 k + 2 = 1 2 k + 1 + 3 ⌊ 2 2 k ⌋ = 3 k + 3 k = 2 × 3 k .
Hence, we are done. □
Now, let's consider the factors:
a 2 k + 1 = 3 k has factors 1 , 3 , 3 2 , … 3 k − 1 , 3 k .
a 2 k + 2 = 2 × 3 k has factors 1 , 3 , 3 2 , … , 3 k − 1 , 3 k , 2 × 1 , 2 × 3 , 2 × 3 2 , … , 2 × 3 k − 1 , 2 × 3 k .
Hence, a n satisfies the condition of "The factors of a n are a i for i ≤ n " if and only if n is even.
Out of 1 ≤ n ≤ 1 0 , there are 5 such cases.