Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Finding primitive polynomials  RSS feed

 
Nitish Bangera
Ranch Hand
Posts: 537
Eclipse IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This code should find primitive polynomials[cannot be factored in a field where their coefficients are 0 and 1]. The problem is the first and the last degree are shown but the middle coefficients are coming to 0. I am not able figure out the problem properly. The same logic worked in C using unsigned longs.
 
Campbell Ritchie
Sheriff
Posts: 55333
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please provide more details. What is the algorithm you are using? What sort of errors are you suffering?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!