A087291 Number of pairs of polynomials (f,g) in GF(2)[x] satisfying 1 <= deg(f) <= n, 1 <= deg(g) <= n and gcd(f,g) = 1.
0, 2, 18, 98, 450, 1922, 7938, 32258, 130050, 522242, 2093058, 8380418, 33538050, 134184962, 536805378, 2147352578, 8589672450, 34359214082, 137437904898, 549753716738, 2199019061250
Offset: 0
Examples
a(1) = 2 since gcd(x,x+1) = 1 and gcd(x+1,x) = 1 and no other pair (f,g) of polynomials in GF(2)[x] of degree 1 satisfy gcd(f,g) = 1.
Links
- Index entries for linear recurrences with constant coefficients, signature (7, -14, 8).
Formula
a(n) = 2*(2^n-1)^2.
G.f.: 2*x*(1+2*x)/((1-x)*(1-2*x)*(1-4*x)). - Colin Barker, Feb 22 2012
Comments