superprismatic Posted February 16, 2011 Report Share Posted February 16, 2011 Consider polynomials which have coefficients taken modulo 7. So the polynomials 18x12 - 4x5 + x - 1 and 4x12 + 3x5 + x + 6 are equivalent. Note that the exponents are not taken modulo 7. One such polynomial is: P[x] = x6 + 4x5 + x4 + 2x3 + 3x2 + 6x + 5. Can you find a polynomial multiple of P[x] which is a trinomial and has the smallest possible degree? Quote Link to comment Share on other sites More sharing options...
0 Guest Posted February 17, 2011 Report Share Posted February 17, 2011 i know there has to be a logical mathematical way to do this right, not just trial and error? im not that patient Quote Link to comment Share on other sites More sharing options...
0 superprismatic Posted February 17, 2011 Author Report Share Posted February 17, 2011 i know there has to be a logical mathematical way to do this right, not just trial and error? im not that patient There are better ways to do it than trial and error. I think they all require a bit too much work than you can do by hand. I think you really need to program a spreadsheet or use a proper programming language to do the calculations. Once you figure out a way to do it, you'll most likely need a computer to do the grunt work for you. Of course, someone might figure out a way to do it by hand, but I doubt it. Quote Link to comment Share on other sites More sharing options...
0 superprismatic Posted February 20, 2011 Author Report Share Posted February 20, 2011 In case someone needs it, here's a hint on how to proceed. Since we are looking for a multiple of P[x], we are actually looking for a polynomial which is 0 modulo P[x]. Whatever the polynomial is, we can subtract as many copies of P[x] from it without changing its value modulo P[x]. So, P[x] is actually 0 as far as looking at polynomials modulo P[x] goes. Thus, x6 + 4x5 + x4 + 2x3 + 3x2 + 6x + 5 = 0. Then, x6 = -4x5 - x4 - 2x3 - 3x2 - 6x - 5, or, x6 = 3x5 + 6x4 + 5x3 + 4x2 + x + 2. This allows us to compute all larger powers of x in terms of powers less than 6 as follows: x7 = x(3x5 + 6x4 + 5x3 + 4x2 + x + 2) = 3x6 + 6x5 + 5x4 + 4x3 + x2 + 2x = 3(3x5 + 6x4 + 5x3 + 4x2 + x + 2) + 6x5 + 5x4 + 4x3 + x2 + 2x. Multiplying and combining mod 7 gives x7 = x5 + 2x4 + 5x3 + 6x2 + 5x + 6. In the same way, we can compute x8, x9, x10, ...... (as far as we want) in terms of powers of x from x0 to x5. Thus, we can easily compute the remainder of any power of x when divided by P[x]. Quote Link to comment Share on other sites More sharing options...
0 araver Posted February 21, 2011 Report Share Posted February 21, 2011 Q[X]=X^166+4*X^137+6[/CODE] [/spoiler] Quote Link to comment Share on other sites More sharing options...
0 superprismatic Posted February 21, 2011 Author Report Share Posted February 21, 2011 araver's got it! If anyone is still interested in this problem but doesn't want to follow in araver's footsteps, here is a slightly different but related problem: Find the smallest degree trinomial multiple of P[x] all of whose nonzero coefficients are 1. Quote Link to comment Share on other sites More sharing options...
Question
superprismatic
Consider polynomials which have coefficients
taken modulo 7. So the polynomials
18x12 - 4x5 + x - 1 and 4x12 + 3x5 + x + 6
are equivalent. Note that the exponents are
not taken modulo 7. One such polynomial is:
P[x] = x6 + 4x5 + x4 + 2x3 + 3x2 + 6x + 5.
Can you find a polynomial multiple of P[x]
which is a trinomial and has the smallest
possible degree?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.