- Trigonometry + + and - Polynomials?

Algebra Level 5

This question is a follow up from Joel's problem regarding something very interesting I found.


For every positive integer n n , cos ( n x ) \cos{(nx)} can be written as a polynomial in cos ( x ) \cos{(x)} with integral coefficients. We would call it P n ( y ) { P }_{ n }(y) , where y = cos ( x ) y=\cos{(x)} . For example, we have P 1 ( y ) = y , P 2 ( y ) = 2 y 2 1 { P }_{ 1 }(y)=y, { P }_{ 2 }(y)=2{ y }^{ 2 }-1

Denote s ( n ) s(n) to be the sum of values of the coefficients of P n ( y ) { P }_{ n }(y) . For example, s ( 1 ) = 1 , s ( 2 ) = 1 s(1)=1,\quad s(2)=1

Find the smallest positive integer value of A A such that for all integers n > 0 n>0 , s ( n ) s(n) and s ( n + A ) s(n+A) are congruent modulo 1234 1234 . Input A × 3 A \times 3 as your answer.


To avoid ambiguity, assume k > 0 k>0 if k k is a positive integer.



The answer is 3.

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.

2 solutions

Pi Han Goh
Mar 12, 2015

Essentially this just boils down to stating cos ( n x ) \cos (nx) in terms of a polynomial of cos ( x ) \cos (x)

Let x = 0 x = 0 , 1 = cos ( 0 ) = Sum of coefficients A = 1 1 = \cos(0) = \text{Sum of coefficients} \Rightarrow A = 1

Parth Kohli
Jan 24, 2015

Pardon me, but the only plausible way I found was pattern recognition using a few identities I had committed to memory. I'm still looking for a reason as to why this happens.

cos ( x ) = cos ( x ) s ( 1 ) = 1 \cos(x) = \cos(x) \Rightarrow s(1) = 1 .

cos ( 2 x ) = 2 cos 2 x 1 s ( 2 ) = 1 \cos(2x) = 2\cos^2 x - 1 \Rightarrow s(2) = 1 .

cos ( 3 x ) = 4 cos 3 x 3 cos ( x ) s ( 3 ) = 1 \cos(3x) = 4\cos^3 x - 3 \cos (x) \Rightarrow s(3) = 1 .

cos ( 4 x ) = 8 cos 4 x 8 cos 4 x + 1 s ( 4 ) = 1 \cos(4x) = 8 \cos^4 x - 8 \cos^4 x + 1 \Rightarrow s(4) = 1 .

I jumped to the conclusion that s ( n ) = 1 s(n) = 1 for all integral values of n n . So we can simply say that A A can take any integral value, but since we restrict it to positive integers, A m i n = 1 3 A = 3 A_{\rm min} = 1 \Rightarrow 3A = \boxed{3} .

Update: This document also confirms my suspicion.

Parth Kohli - 6 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...