Found $x^8$ while calculating inverse of $(x^6+1)$ in finite field $GF(2^8)$. Help???Quadratic Extension of Finite fieldInverse of polynomial over $mathbb F_3$ finite field, quotient spaceExtended Euclidean Algorithm, what is our answer?Calculating the generator of a Finite FieldIs every finite extension of a finite field a finite field?Algebraic Field Extension of Finite FieldPrescribing norm and trace of elements in a finite field.Help determining if a field is finite?degree of finite extension of finite fieldHelp with a basic question on Finite Field characteristic

Should I tell my boss the work he did was worthless

My story is written in English, but is set in my home country. What language should I use for the dialogue?

Rejected in 4th interview round citing insufficient years of experience

Grey hair or white hair

Does splitting a potentially monolithic application into several smaller ones help prevent bugs?

Do I really need to have a scientific explanation for my premise?

Can someone explain what is being said here in color publishing in the American Mathematical Monthly?

Does a Catoblepas statblock appear in an official D&D 5e product?

Finding algorithms of QGIS commands?

Are there historical instances of the capital of a colonising country being temporarily or permanently shifted to one of its colonies?

How are such low op-amp input currents possible?

In the late 1940’s to early 1950’s what technology was available that could melt a LOT of ice?

How much attack damage does the AC boost from a shield prevent on average?

Fourth person (in Slavey language)

Virginia employer terminated employee and wants signing bonus returned

Who deserves to be first and second author? PhD student who collected data, research associate who wrote the paper or supervisor?

How to pass a string to a command that expects a file?

Are the terms "stab" and "staccato" synonyms?

Placing subfig vertically

String reversal in Python

Algorithm to convert a fixed-length string to the smallest possible collision-free representation?

Is Gradient Descent central to every optimizer?

Can you reject a postdoc offer after the PI has paid a large sum for flights/accommodation for your visit?

What are some noteworthy "mic-drop" moments in math?



Found $x^8$ while calculating inverse of $(x^6+1)$ in finite field $GF(2^8)$. Help???


Quadratic Extension of Finite fieldInverse of polynomial over $mathbb F_3$ finite field, quotient spaceExtended Euclidean Algorithm, what is our answer?Calculating the generator of a Finite FieldIs every finite extension of a finite field a finite field?Algebraic Field Extension of Finite FieldPrescribing norm and trace of elements in a finite field.Help determining if a field is finite?degree of finite extension of finite fieldHelp with a basic question on Finite Field characteristic













0












$begingroup$


So I was running the EEA (Extended Euclidean Algorithm) to find the multiplicative inverse of $(x^6+1)$ in the finite field $GF(2^8)$. Everything was going fine until the second last iteration where I was supposed to get my $t(x)$ auxiliary polynomial that was going to be the inverse. However, this is what I got:
$$1=(x+1)-1(x)
=(r_1+x^2 r_0+x^4 r_1+xr_0+x^3 r_1)+x(x^5 r_0+x^4 r_0+x^3 r_0+x^2 r_0+r_0+x^7 r_1+x^6 r_1+x^5 r_1+x^4 r_1+x^3 r_1+x^2 r_1+xr_1)$$

This equated to $$(x^6+x^5+x^4+x^3+x^2 ) r_0+(x^8+x^7+x^6+x^5+x^3+1)r_1$$
But as much as I know, there shouldn't be a value greater than x^7 in the polynomial, should there? Please Help I need to submit an assignment day after tomorrow...



(EDIT)
enter image description here
This is an image of the EEA calculations










share|cite|improve this question









New contributor




hassan zaidi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$







  • 1




    $begingroup$
    Please use MathJax to make your question readable. Start by putting $ signs around the math expressions.
    $endgroup$
    – saulspatz
    2 days ago











  • $begingroup$
    Changed it, sorry didnt realize that at first..
    $endgroup$
    – hassan zaidi
    2 days ago










  • $begingroup$
    Welcome to Maths SX! What is $x$ here?
    $endgroup$
    – Bernard
    2 days ago










  • $begingroup$
    x is just a variable, that shows the bit value in an 8-bit vector. So, for example, the polynomial $$x^7+x^6+x^5+x^4+x^3+x^2+x$$ in bit value is (11111110)
    $endgroup$
    – hassan zaidi
    2 days ago










  • $begingroup$
    Btw in the look up table the inverse is actually equal to (11111110) meaning that the 4th iteration's $$r_1$$ is the correct answer
    $endgroup$
    – hassan zaidi
    2 days ago















0












$begingroup$


So I was running the EEA (Extended Euclidean Algorithm) to find the multiplicative inverse of $(x^6+1)$ in the finite field $GF(2^8)$. Everything was going fine until the second last iteration where I was supposed to get my $t(x)$ auxiliary polynomial that was going to be the inverse. However, this is what I got:
$$1=(x+1)-1(x)
=(r_1+x^2 r_0+x^4 r_1+xr_0+x^3 r_1)+x(x^5 r_0+x^4 r_0+x^3 r_0+x^2 r_0+r_0+x^7 r_1+x^6 r_1+x^5 r_1+x^4 r_1+x^3 r_1+x^2 r_1+xr_1)$$

This equated to $$(x^6+x^5+x^4+x^3+x^2 ) r_0+(x^8+x^7+x^6+x^5+x^3+1)r_1$$
But as much as I know, there shouldn't be a value greater than x^7 in the polynomial, should there? Please Help I need to submit an assignment day after tomorrow...



(EDIT)
enter image description here
This is an image of the EEA calculations










share|cite|improve this question









New contributor




hassan zaidi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$







  • 1




    $begingroup$
    Please use MathJax to make your question readable. Start by putting $ signs around the math expressions.
    $endgroup$
    – saulspatz
    2 days ago











  • $begingroup$
    Changed it, sorry didnt realize that at first..
    $endgroup$
    – hassan zaidi
    2 days ago










  • $begingroup$
    Welcome to Maths SX! What is $x$ here?
    $endgroup$
    – Bernard
    2 days ago










  • $begingroup$
    x is just a variable, that shows the bit value in an 8-bit vector. So, for example, the polynomial $$x^7+x^6+x^5+x^4+x^3+x^2+x$$ in bit value is (11111110)
    $endgroup$
    – hassan zaidi
    2 days ago










  • $begingroup$
    Btw in the look up table the inverse is actually equal to (11111110) meaning that the 4th iteration's $$r_1$$ is the correct answer
    $endgroup$
    – hassan zaidi
    2 days ago













0












0








0


1



$begingroup$


So I was running the EEA (Extended Euclidean Algorithm) to find the multiplicative inverse of $(x^6+1)$ in the finite field $GF(2^8)$. Everything was going fine until the second last iteration where I was supposed to get my $t(x)$ auxiliary polynomial that was going to be the inverse. However, this is what I got:
$$1=(x+1)-1(x)
=(r_1+x^2 r_0+x^4 r_1+xr_0+x^3 r_1)+x(x^5 r_0+x^4 r_0+x^3 r_0+x^2 r_0+r_0+x^7 r_1+x^6 r_1+x^5 r_1+x^4 r_1+x^3 r_1+x^2 r_1+xr_1)$$

This equated to $$(x^6+x^5+x^4+x^3+x^2 ) r_0+(x^8+x^7+x^6+x^5+x^3+1)r_1$$
But as much as I know, there shouldn't be a value greater than x^7 in the polynomial, should there? Please Help I need to submit an assignment day after tomorrow...



(EDIT)
enter image description here
This is an image of the EEA calculations










share|cite|improve this question









New contributor




hassan zaidi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$




So I was running the EEA (Extended Euclidean Algorithm) to find the multiplicative inverse of $(x^6+1)$ in the finite field $GF(2^8)$. Everything was going fine until the second last iteration where I was supposed to get my $t(x)$ auxiliary polynomial that was going to be the inverse. However, this is what I got:
$$1=(x+1)-1(x)
=(r_1+x^2 r_0+x^4 r_1+xr_0+x^3 r_1)+x(x^5 r_0+x^4 r_0+x^3 r_0+x^2 r_0+r_0+x^7 r_1+x^6 r_1+x^5 r_1+x^4 r_1+x^3 r_1+x^2 r_1+xr_1)$$

This equated to $$(x^6+x^5+x^4+x^3+x^2 ) r_0+(x^8+x^7+x^6+x^5+x^3+1)r_1$$
But as much as I know, there shouldn't be a value greater than x^7 in the polynomial, should there? Please Help I need to submit an assignment day after tomorrow...



(EDIT)
enter image description here
This is an image of the EEA calculations







finite-fields extension-field euclidean-algorithm






share|cite|improve this question









New contributor




hassan zaidi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|cite|improve this question









New contributor




hassan zaidi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|cite|improve this question




share|cite|improve this question








edited 2 days ago







hassan zaidi













New contributor




hassan zaidi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









hassan zaidihassan zaidi

11




11




New contributor




hassan zaidi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





hassan zaidi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






hassan zaidi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 1




    $begingroup$
    Please use MathJax to make your question readable. Start by putting $ signs around the math expressions.
    $endgroup$
    – saulspatz
    2 days ago











  • $begingroup$
    Changed it, sorry didnt realize that at first..
    $endgroup$
    – hassan zaidi
    2 days ago










  • $begingroup$
    Welcome to Maths SX! What is $x$ here?
    $endgroup$
    – Bernard
    2 days ago










  • $begingroup$
    x is just a variable, that shows the bit value in an 8-bit vector. So, for example, the polynomial $$x^7+x^6+x^5+x^4+x^3+x^2+x$$ in bit value is (11111110)
    $endgroup$
    – hassan zaidi
    2 days ago










  • $begingroup$
    Btw in the look up table the inverse is actually equal to (11111110) meaning that the 4th iteration's $$r_1$$ is the correct answer
    $endgroup$
    – hassan zaidi
    2 days ago












  • 1




    $begingroup$
    Please use MathJax to make your question readable. Start by putting $ signs around the math expressions.
    $endgroup$
    – saulspatz
    2 days ago











  • $begingroup$
    Changed it, sorry didnt realize that at first..
    $endgroup$
    – hassan zaidi
    2 days ago










  • $begingroup$
    Welcome to Maths SX! What is $x$ here?
    $endgroup$
    – Bernard
    2 days ago










  • $begingroup$
    x is just a variable, that shows the bit value in an 8-bit vector. So, for example, the polynomial $$x^7+x^6+x^5+x^4+x^3+x^2+x$$ in bit value is (11111110)
    $endgroup$
    – hassan zaidi
    2 days ago










  • $begingroup$
    Btw in the look up table the inverse is actually equal to (11111110) meaning that the 4th iteration's $$r_1$$ is the correct answer
    $endgroup$
    – hassan zaidi
    2 days ago







1




1




$begingroup$
Please use MathJax to make your question readable. Start by putting $ signs around the math expressions.
$endgroup$
– saulspatz
2 days ago





$begingroup$
Please use MathJax to make your question readable. Start by putting $ signs around the math expressions.
$endgroup$
– saulspatz
2 days ago













$begingroup$
Changed it, sorry didnt realize that at first..
$endgroup$
– hassan zaidi
2 days ago




$begingroup$
Changed it, sorry didnt realize that at first..
$endgroup$
– hassan zaidi
2 days ago












$begingroup$
Welcome to Maths SX! What is $x$ here?
$endgroup$
– Bernard
2 days ago




$begingroup$
Welcome to Maths SX! What is $x$ here?
$endgroup$
– Bernard
2 days ago












$begingroup$
x is just a variable, that shows the bit value in an 8-bit vector. So, for example, the polynomial $$x^7+x^6+x^5+x^4+x^3+x^2+x$$ in bit value is (11111110)
$endgroup$
– hassan zaidi
2 days ago




$begingroup$
x is just a variable, that shows the bit value in an 8-bit vector. So, for example, the polynomial $$x^7+x^6+x^5+x^4+x^3+x^2+x$$ in bit value is (11111110)
$endgroup$
– hassan zaidi
2 days ago












$begingroup$
Btw in the look up table the inverse is actually equal to (11111110) meaning that the 4th iteration's $$r_1$$ is the correct answer
$endgroup$
– hassan zaidi
2 days ago




$begingroup$
Btw in the look up table the inverse is actually equal to (11111110) meaning that the 4th iteration's $$r_1$$ is the correct answer
$endgroup$
– hassan zaidi
2 days ago










1 Answer
1






active

oldest

votes


















2












$begingroup$

Judging from the calculation at the link you provided, you're taking $ x $ to be a root of the polynomial $ x^8 + x^4 + x^3 + x + 1 $. There's nothing particulary wrong about having terms of degree $8$ or more in an expression for the inverse of an element of the field, but you can always replace them with a combination of terms of smaller degree by using the equation $ x^8 = x^4 + x^3 + x + 1 $. As it happens, when I multiplied your putative inverse $ x^8+x^7+x^6+x^5+x^3+1= x^7+x^6+x^5+x^4+x $ by $ x^6+1 $ I didn't get $1$. I got $ x^5 $ instead.



In fact, there appears to be an error on line $2$ of the calculation pointed to by your link. I believe the remainder on the right side of the equation should be $ x^4 + x^3 +x^2 + x + 1 $ rather than $ x^4 + x^3 + x + 1 $.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Yes you are right there was a problem in line 2, however, it was only a mistake of not writing the $$x^2$$ and I'm saying that because I rechecked my calculation twice after you pointed it out. And yes you are right $$x^7+x^6+x^5+x^4+x$$ is not the correct inverse of $$x^6+1$$ the correct inverse I got from a look table was actually $$x^7+x^6+x^5+x^4+x^3+x^2+x$$ . And I get it now that we can write the >8 terms using smaller degrees, but still, I don't quite understand why I'm not getting the correct answer. And btw this is of tremendous help.
    $endgroup$
    – hassan zaidi
    2 days ago











  • $begingroup$
    I suggest you check your calculation of the coefficient of $ r_1 $ in the second column of line 5. According to my calculations this should be $ left(x^4+x^3+1right)left(x^3+xright) + x^2 $, which gives me a different result from what you have.
    $endgroup$
    – lonza leggiera
    yesterday











  • $begingroup$
    Guys this was extremely helpful and I'd like to thank everyone that commented. I realized my mistake, it was in the 5th iteration. The coefficient that was next to $$r_0$$ was written as $$x^8+x^7+x^6+x^5+x^3+1$$ when it was actually $$x^8+x^7+x^6+x^5+x^2+1$$. Thank you all for the comments.
    $endgroup$
    – hassan zaidi
    yesterday










Your Answer





StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






hassan zaidi is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3142227%2ffound-x8-while-calculating-inverse-of-x61-in-finite-field-gf28-he%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2












$begingroup$

Judging from the calculation at the link you provided, you're taking $ x $ to be a root of the polynomial $ x^8 + x^4 + x^3 + x + 1 $. There's nothing particulary wrong about having terms of degree $8$ or more in an expression for the inverse of an element of the field, but you can always replace them with a combination of terms of smaller degree by using the equation $ x^8 = x^4 + x^3 + x + 1 $. As it happens, when I multiplied your putative inverse $ x^8+x^7+x^6+x^5+x^3+1= x^7+x^6+x^5+x^4+x $ by $ x^6+1 $ I didn't get $1$. I got $ x^5 $ instead.



In fact, there appears to be an error on line $2$ of the calculation pointed to by your link. I believe the remainder on the right side of the equation should be $ x^4 + x^3 +x^2 + x + 1 $ rather than $ x^4 + x^3 + x + 1 $.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Yes you are right there was a problem in line 2, however, it was only a mistake of not writing the $$x^2$$ and I'm saying that because I rechecked my calculation twice after you pointed it out. And yes you are right $$x^7+x^6+x^5+x^4+x$$ is not the correct inverse of $$x^6+1$$ the correct inverse I got from a look table was actually $$x^7+x^6+x^5+x^4+x^3+x^2+x$$ . And I get it now that we can write the >8 terms using smaller degrees, but still, I don't quite understand why I'm not getting the correct answer. And btw this is of tremendous help.
    $endgroup$
    – hassan zaidi
    2 days ago











  • $begingroup$
    I suggest you check your calculation of the coefficient of $ r_1 $ in the second column of line 5. According to my calculations this should be $ left(x^4+x^3+1right)left(x^3+xright) + x^2 $, which gives me a different result from what you have.
    $endgroup$
    – lonza leggiera
    yesterday











  • $begingroup$
    Guys this was extremely helpful and I'd like to thank everyone that commented. I realized my mistake, it was in the 5th iteration. The coefficient that was next to $$r_0$$ was written as $$x^8+x^7+x^6+x^5+x^3+1$$ when it was actually $$x^8+x^7+x^6+x^5+x^2+1$$. Thank you all for the comments.
    $endgroup$
    – hassan zaidi
    yesterday















2












$begingroup$

Judging from the calculation at the link you provided, you're taking $ x $ to be a root of the polynomial $ x^8 + x^4 + x^3 + x + 1 $. There's nothing particulary wrong about having terms of degree $8$ or more in an expression for the inverse of an element of the field, but you can always replace them with a combination of terms of smaller degree by using the equation $ x^8 = x^4 + x^3 + x + 1 $. As it happens, when I multiplied your putative inverse $ x^8+x^7+x^6+x^5+x^3+1= x^7+x^6+x^5+x^4+x $ by $ x^6+1 $ I didn't get $1$. I got $ x^5 $ instead.



In fact, there appears to be an error on line $2$ of the calculation pointed to by your link. I believe the remainder on the right side of the equation should be $ x^4 + x^3 +x^2 + x + 1 $ rather than $ x^4 + x^3 + x + 1 $.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Yes you are right there was a problem in line 2, however, it was only a mistake of not writing the $$x^2$$ and I'm saying that because I rechecked my calculation twice after you pointed it out. And yes you are right $$x^7+x^6+x^5+x^4+x$$ is not the correct inverse of $$x^6+1$$ the correct inverse I got from a look table was actually $$x^7+x^6+x^5+x^4+x^3+x^2+x$$ . And I get it now that we can write the >8 terms using smaller degrees, but still, I don't quite understand why I'm not getting the correct answer. And btw this is of tremendous help.
    $endgroup$
    – hassan zaidi
    2 days ago











  • $begingroup$
    I suggest you check your calculation of the coefficient of $ r_1 $ in the second column of line 5. According to my calculations this should be $ left(x^4+x^3+1right)left(x^3+xright) + x^2 $, which gives me a different result from what you have.
    $endgroup$
    – lonza leggiera
    yesterday











  • $begingroup$
    Guys this was extremely helpful and I'd like to thank everyone that commented. I realized my mistake, it was in the 5th iteration. The coefficient that was next to $$r_0$$ was written as $$x^8+x^7+x^6+x^5+x^3+1$$ when it was actually $$x^8+x^7+x^6+x^5+x^2+1$$. Thank you all for the comments.
    $endgroup$
    – hassan zaidi
    yesterday













2












2








2





$begingroup$

Judging from the calculation at the link you provided, you're taking $ x $ to be a root of the polynomial $ x^8 + x^4 + x^3 + x + 1 $. There's nothing particulary wrong about having terms of degree $8$ or more in an expression for the inverse of an element of the field, but you can always replace them with a combination of terms of smaller degree by using the equation $ x^8 = x^4 + x^3 + x + 1 $. As it happens, when I multiplied your putative inverse $ x^8+x^7+x^6+x^5+x^3+1= x^7+x^6+x^5+x^4+x $ by $ x^6+1 $ I didn't get $1$. I got $ x^5 $ instead.



In fact, there appears to be an error on line $2$ of the calculation pointed to by your link. I believe the remainder on the right side of the equation should be $ x^4 + x^3 +x^2 + x + 1 $ rather than $ x^4 + x^3 + x + 1 $.






share|cite|improve this answer











$endgroup$



Judging from the calculation at the link you provided, you're taking $ x $ to be a root of the polynomial $ x^8 + x^4 + x^3 + x + 1 $. There's nothing particulary wrong about having terms of degree $8$ or more in an expression for the inverse of an element of the field, but you can always replace them with a combination of terms of smaller degree by using the equation $ x^8 = x^4 + x^3 + x + 1 $. As it happens, when I multiplied your putative inverse $ x^8+x^7+x^6+x^5+x^3+1= x^7+x^6+x^5+x^4+x $ by $ x^6+1 $ I didn't get $1$. I got $ x^5 $ instead.



In fact, there appears to be an error on line $2$ of the calculation pointed to by your link. I believe the remainder on the right side of the equation should be $ x^4 + x^3 +x^2 + x + 1 $ rather than $ x^4 + x^3 + x + 1 $.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited 2 days ago

























answered 2 days ago









lonza leggieralonza leggiera

1,03228




1,03228











  • $begingroup$
    Yes you are right there was a problem in line 2, however, it was only a mistake of not writing the $$x^2$$ and I'm saying that because I rechecked my calculation twice after you pointed it out. And yes you are right $$x^7+x^6+x^5+x^4+x$$ is not the correct inverse of $$x^6+1$$ the correct inverse I got from a look table was actually $$x^7+x^6+x^5+x^4+x^3+x^2+x$$ . And I get it now that we can write the >8 terms using smaller degrees, but still, I don't quite understand why I'm not getting the correct answer. And btw this is of tremendous help.
    $endgroup$
    – hassan zaidi
    2 days ago











  • $begingroup$
    I suggest you check your calculation of the coefficient of $ r_1 $ in the second column of line 5. According to my calculations this should be $ left(x^4+x^3+1right)left(x^3+xright) + x^2 $, which gives me a different result from what you have.
    $endgroup$
    – lonza leggiera
    yesterday











  • $begingroup$
    Guys this was extremely helpful and I'd like to thank everyone that commented. I realized my mistake, it was in the 5th iteration. The coefficient that was next to $$r_0$$ was written as $$x^8+x^7+x^6+x^5+x^3+1$$ when it was actually $$x^8+x^7+x^6+x^5+x^2+1$$. Thank you all for the comments.
    $endgroup$
    – hassan zaidi
    yesterday
















  • $begingroup$
    Yes you are right there was a problem in line 2, however, it was only a mistake of not writing the $$x^2$$ and I'm saying that because I rechecked my calculation twice after you pointed it out. And yes you are right $$x^7+x^6+x^5+x^4+x$$ is not the correct inverse of $$x^6+1$$ the correct inverse I got from a look table was actually $$x^7+x^6+x^5+x^4+x^3+x^2+x$$ . And I get it now that we can write the >8 terms using smaller degrees, but still, I don't quite understand why I'm not getting the correct answer. And btw this is of tremendous help.
    $endgroup$
    – hassan zaidi
    2 days ago











  • $begingroup$
    I suggest you check your calculation of the coefficient of $ r_1 $ in the second column of line 5. According to my calculations this should be $ left(x^4+x^3+1right)left(x^3+xright) + x^2 $, which gives me a different result from what you have.
    $endgroup$
    – lonza leggiera
    yesterday











  • $begingroup$
    Guys this was extremely helpful and I'd like to thank everyone that commented. I realized my mistake, it was in the 5th iteration. The coefficient that was next to $$r_0$$ was written as $$x^8+x^7+x^6+x^5+x^3+1$$ when it was actually $$x^8+x^7+x^6+x^5+x^2+1$$. Thank you all for the comments.
    $endgroup$
    – hassan zaidi
    yesterday















$begingroup$
Yes you are right there was a problem in line 2, however, it was only a mistake of not writing the $$x^2$$ and I'm saying that because I rechecked my calculation twice after you pointed it out. And yes you are right $$x^7+x^6+x^5+x^4+x$$ is not the correct inverse of $$x^6+1$$ the correct inverse I got from a look table was actually $$x^7+x^6+x^5+x^4+x^3+x^2+x$$ . And I get it now that we can write the >8 terms using smaller degrees, but still, I don't quite understand why I'm not getting the correct answer. And btw this is of tremendous help.
$endgroup$
– hassan zaidi
2 days ago





$begingroup$
Yes you are right there was a problem in line 2, however, it was only a mistake of not writing the $$x^2$$ and I'm saying that because I rechecked my calculation twice after you pointed it out. And yes you are right $$x^7+x^6+x^5+x^4+x$$ is not the correct inverse of $$x^6+1$$ the correct inverse I got from a look table was actually $$x^7+x^6+x^5+x^4+x^3+x^2+x$$ . And I get it now that we can write the >8 terms using smaller degrees, but still, I don't quite understand why I'm not getting the correct answer. And btw this is of tremendous help.
$endgroup$
– hassan zaidi
2 days ago













$begingroup$
I suggest you check your calculation of the coefficient of $ r_1 $ in the second column of line 5. According to my calculations this should be $ left(x^4+x^3+1right)left(x^3+xright) + x^2 $, which gives me a different result from what you have.
$endgroup$
– lonza leggiera
yesterday





$begingroup$
I suggest you check your calculation of the coefficient of $ r_1 $ in the second column of line 5. According to my calculations this should be $ left(x^4+x^3+1right)left(x^3+xright) + x^2 $, which gives me a different result from what you have.
$endgroup$
– lonza leggiera
yesterday













$begingroup$
Guys this was extremely helpful and I'd like to thank everyone that commented. I realized my mistake, it was in the 5th iteration. The coefficient that was next to $$r_0$$ was written as $$x^8+x^7+x^6+x^5+x^3+1$$ when it was actually $$x^8+x^7+x^6+x^5+x^2+1$$. Thank you all for the comments.
$endgroup$
– hassan zaidi
yesterday




$begingroup$
Guys this was extremely helpful and I'd like to thank everyone that commented. I realized my mistake, it was in the 5th iteration. The coefficient that was next to $$r_0$$ was written as $$x^8+x^7+x^6+x^5+x^3+1$$ when it was actually $$x^8+x^7+x^6+x^5+x^2+1$$. Thank you all for the comments.
$endgroup$
– hassan zaidi
yesterday










hassan zaidi is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















hassan zaidi is a new contributor. Be nice, and check out our Code of Conduct.












hassan zaidi is a new contributor. Be nice, and check out our Code of Conduct.











hassan zaidi is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3142227%2ffound-x8-while-calculating-inverse-of-x61-in-finite-field-gf28-he%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Lowndes Grove History Architecture References Navigation menu32°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661132°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661178002500"National Register Information System"Historic houses of South Carolina"Lowndes Grove""+32° 48' 6.00", −79° 57' 58.00""Lowndes Grove, Charleston County (260 St. Margaret St., Charleston)""Lowndes Grove"The Charleston ExpositionIt Happened in South Carolina"Lowndes Grove (House), Saint Margaret Street & Sixth Avenue, Charleston, Charleston County, SC(Photographs)"Plantations of the Carolina Low Countrye

random experiment with two different functions on unit interval Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Random variable and probability space notionsRandom Walk with EdgesFinding functions where the increase over a random interval is Poisson distributedNumber of days until dayCan an observed event in fact be of zero probability?Unit random processmodels of coins and uniform distributionHow to get the number of successes given $n$ trials , probability $P$ and a random variable $X$Absorbing Markov chain in a computer. Is “almost every” turned into always convergence in computer executions?Stopped random walk is not uniformly integrable

How should I support this large drywall patch? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I cover large gaps in drywall?How do I keep drywall around a patch from crumbling?Can I glue a second layer of drywall?How to patch long strip on drywall?Large drywall patch: how to avoid bulging seams?Drywall Mesh Patch vs. Bulge? To remove or not to remove?How to fix this drywall job?Prep drywall before backsplashWhat's the best way to fix this horrible drywall patch job?Drywall patching using 3M Patch Plus Primer