Show that a sequence of plus and minus ones is periodic with period a power of , if and only if , , where is an integer-valued polynomial with rational coefficients.
, 2010
Solutions — 2
Solution 1
A polynomial of degree at most with complex coefficients is integer-valued if and only if
where the are all integer numbers, so its coefficients are rational.
We show that for such a , the sequence is periodic with period , where . To this end, it suffices to show that if and is integer, then . These are the coefficients of in the expansions of and , respectively. The congruence follows easily by induction on . Hence . Since is less than , it is immediate that the coefficients of in and have the same parity.
Conversely, let be arbitrary integers, and let be the solution to the lower triangular system of linear equations
Then
realizes the sequence , , and its extension with period .
Solution 2
Given an integer-valued polynomial with rational coefficients, we show that the sequence is periodic with period a power of . Clearly, it is sufficient to show that, for some non-negative integer , the integer numbers and both have the same parity, whatever . To this end, consider a positive integer such that is a polynomial with integral coefficients (e.g., let be the least common multiple of the denominators of the coefficients of when written in lowest terms), let be the highest power of dividing , and let be an integer greater than . Write and fix a positive integer . Since divides the difference
and , the conclusion follows.
Conversely, given a sequence of plus and minus ones which is periodic with period , let
and consider the polynomial (Lagrange)
Clearly, has rational coefficients, is integer-valued, and , , so , . To prove that the latter extends to all of , it is sufficient to show that and both have the same parity, whatever . This amounts to showing that if and , then and have the same parity. Recalling that , , are all even, this follows for instance from the identity
or, which is actually the same, from the argument in Solution 1.