gf(2) Square-free factorization (sff)
Find and remove all squared factors from f.
f = b0000000000000000111101111101100100100100100111111111001100111111
f = 0x0000f7d9249ff33f
f = x47 + x46 + x45 + x44 + x42 + x41 + x40 + x39 + x38 + x36 + x35 + x32 + x29 + x26 + x23 + x20 + x19 + x18 + x17 + x16 + x15 + x14 + x13 + x12 + x9 + x8 + x5 + x4 + x3 + x2 + x + 1
Find the derivative of f (f')
f' = b0000000000000000010100010100010000010000010001010101000100010101
f' = 0x0000514410455115
f' = x46 + x44 + x40 + x38 + x34 + x28 + x22 + x18 + x16 + x14 + x12 + x8 + x4 + x2 + 1
Since f' does not equal zero, find g=gcd(f,f')
g = b0000000000000000000000000000000000000000000000000000000000000001
g = 0x0000000000000001
g = 1
Since g equals one, f has no square factors.
Result (f factored into square-free factors)
f = (b0000000000000000111101111101100100100100100111111111001100111111)
f = (0x0000f7d9249ff33f)
f = (x47 + x46 + x45 + x44 + x42 + x41 + x40 + x39 + x38 + x36 + x35 + x32 + x29 + x26 + x23 + x20 + x19 + x18 + x17 + x16 + x15 + x14 + x13 + x12 + x9 + x8 + x5 + x4 + x3 + x2 + x + 1)
See also: