A353167 Polynomials over GF(2) that are divisible by (x+1)^2 = x^2+1, encoded as binary numbers.
0, 5, 10, 15, 17, 20, 27, 30, 34, 39, 40, 45, 51, 54, 57, 60, 65, 68, 75, 78, 80, 85, 90, 95, 99, 102, 105, 108, 114, 119, 120, 125, 130, 135, 136, 141, 147, 150, 153, 156, 160, 165, 170, 175, 177, 180, 187, 190, 195, 198, 201, 204, 210, 215, 216, 221, 225, 228, 235
Offset: 1
Programs
-
PARI
a(n) = n--; n<<2 + if(n,fold(bitxor,digits(n,4))); \\ Kevin Ryde, Jul 01 2022
Extensions
More terms from David A. Corneth, Apr 28 2022
Comments