X^8 + X^6 + X^5 + X^4 + 1
-> 2^8 -1 = 255
X^16 + X^14 + X^13 + X^11 + 1
-> 2^16 - 1 = 65_535
X^32+ X^22 + X^2 + X^1 + 1
-> 2^32 - 1
let feed = LFSR.LFSR8(0);
let (v, _) = feed.next();
// Iter
let iter = LFSR.toIter(feed);
Reference: prng.
X^8 + X^6 + X^5 + X^4 + 1
-> 2^8 -1 = 255
X^16 + X^14 + X^13 + X^11 + 1
-> 2^16 - 1 = 65_535
X^32+ X^22 + X^2 + X^1 + 1
-> 2^32 - 1
let feed = LFSR.LFSR8(0);
let (v, _) = feed.next();
// Iter
let iter = LFSR.toIter(feed);
Reference: prng.