

Likewise, because the register has a finite number of possible states, it must eventually enter a repeating cycle.

The initial value of the LFSR is called the seed, and because the operation of the register is deterministic, the stream of values produced by the register is completely determined by its current (or previous) state. Thus, an LFSR is most often a shift register whose input bit is driven by the XOR of some bits of the overall shift register value. The most commonly used linear function of single bits is exclusive-or (XOR). In computing, a linear-feedback shift register (LFSR) is a shift register whose input bit is a linear function of its previous state. IRC Channel Message the Moderators Challenge List in Chronological Order To help the community and write your own challenge to be submitted, head on over to /r/DailyProgrammer_Ideas and share your project - read the sidebar in that subreddit for more information. Otherwise, read the Solution Submission Tutorial for a walkthrough of submitting a solution, or click below to message the moderators for assistance.

If you are a new or unverified account, and are unable to post comment replies, please click here to verify your account. First time visitors of Daily Programmer please Read the Wiki to learn everything about this subreddit.
