Difference between revisions of "1995 USAMO Problems/Problem 1"
m |
m (→Solution) |
||
(One intermediate revision by one other user not shown) | |||
Line 13: | Line 13: | ||
− | Lemma 1: for | + | Lemma 1: for an arithmetic sequence of length <math>\, p \,</math> to exist, there must be a number in the sequence with <math>(p-1)</math> as a digit. |
A arithmetic sequence of length <math>\, p \,</math> can be represented as | A arithmetic sequence of length <math>\, p \,</math> can be represented as | ||
Line 41: | Line 41: | ||
− | + | Lemma 2: Any term containing the digit <math>p-1</math> will form an arithmetic sequence of length-p with preceding terms | |
let <math>p-1</math> be the <math>x^{th}</math> digit from the right (There may be more than 1 <math>(p-1)</math>) | let <math>p-1</math> be the <math>x^{th}</math> digit from the right (There may be more than 1 <math>(p-1)</math>) | ||
− | <math>a=</math>the number with all <math>(p-1)</math> replaced by 0 (e.g: <math>p=7</math>, the number<math>=1361264</math>, then <math>a=1301204</math>) | + | <math>a=</math> the number with all <math>(p-1)</math> replaced by 0 (e.g: <math>p=7</math>, the number<math>=1361264</math>, then <math>a=1301204</math>) |
− | <math>d=\ | + | <math>d=\sum p^{x-1}</math> (for all <math>x</math>'s) |
<math>a,a+d,a+2d,\cdots,a+(p-2)d</math> all precede <math>a_n</math>, thus, <math>a+(p-1)d</math> can't be in the sequence <math>(a_n)_{n \geq 0}</math> | <math>a,a+d,a+2d,\cdots,a+(p-2)d</math> all precede <math>a_n</math>, thus, <math>a+(p-1)d</math> can't be in the sequence <math>(a_n)_{n \geq 0}</math> | ||
− | Therefore, any term | + | Therefore, any term containing the digit <math>p-1</math> can't be a term in the sequence <math>{(a_n)}_{n\ge0}</math> |
Line 57: | Line 57: | ||
Since the digit <math>p-1</math> won't appear (lemma 2) and as long as it doesn't appear, the arithmetic sequence of length <math>\, p \,</math> won't be formed (lemma 1), and <math>a_n</math> must be as small as possible, | Since the digit <math>p-1</math> won't appear (lemma 2) and as long as it doesn't appear, the arithmetic sequence of length <math>\, p \,</math> won't be formed (lemma 1), and <math>a_n</math> must be as small as possible, | ||
− | for all <math>\, n, \,</math> <math>\, a_n \,</math> is the number obtained by writing <math>\, n \,</math> in base <math>\, p-1 \,</math> and reading the result in base <math>\, p</math>. | + | Therefore, for all <math>\, n, \,</math> <math>\, a_n \,</math> is the number obtained by writing <math>\, n \,</math> in base <math>\, p-1 \,</math> and reading the result in base <math>\, p</math>. |
== See Also == | == See Also == |
Latest revision as of 17:23, 22 March 2024
Problem
Let be an odd prime. The sequence is defined as follows: and, for all is the least positive integer that does not form an arithmetic sequence of length with any of the preceding terms. Prove that, for all is the number obtained by writing in base and reading the result in base .
Solution
I have to make the assumption that (without this assumption, I can have the sequence
)
All of the following work are in base otherwise stated
Lemma 1: for an arithmetic sequence of length to exist, there must be a number in the sequence with as a digit.
A arithmetic sequence of length can be represented as
Since no number repeats, . Thus, d must have a rightmost non-zero digits, and every term in the sequence have the same number of tailing zeros, let's say there are tailing zeros.
and let
since p is an odd prime and the operation divide by has remove all factors of p in S
Thus, there must be a number with as a digit if a length-p sequence exist.
Now, I'm going to prove the statement by strong induction.
I'm going to assume that for all less than
is the number obtained by writing in base and reading the result in base .
(which is true for already)
Or in another word, the terms precede contains all number less than written in base and reading the result in base .
Lemma 2: Any term containing the digit will form an arithmetic sequence of length-p with preceding terms
let be the digit from the right (There may be more than 1 )
the number with all replaced by 0 (e.g: , the number, then )
(for all 's)
all precede , thus, can't be in the sequence
Therefore, any term containing the digit can't be a term in the sequence
Since the digit won't appear (lemma 2) and as long as it doesn't appear, the arithmetic sequence of length won't be formed (lemma 1), and must be as small as possible,
Therefore, for all is the number obtained by writing in base and reading the result in base .
See Also
1995 USAMO (Problems • Resources) | ||
Preceded by First Question |
Followed by Problem 2 | |
1 • 2 • 3 • 4 • 5 | ||
All USAMO Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.