A262841 Number of irreducible polynomials occurring as the first component of a vertex in the Fibonacci zero tree, generated as in Comments.
0, 0, 1, 2, 3, 5, 8, 11, 21, 28, 54, 68, 135, 183, 360, 470, 948, 1234, 2479, 3294, 6531, 8713, 17120, 23200
Offset: 0
Examples
First few generations: g(0) = {(0,0)} g(1) = {(0,2), (1,0)} g(2) = {(0,3), (2,0), (0,x)} g(3) = {(0,4), (3,0), (0,2x), (0,1+x), (x,0)} g(4) = {(0,5), (4,0), (0,3x), (0,1+2x), (2x,0), (0,2+x), (1+x,0), (0,x^2)}
Programs
-
Mathematica
z = 20; g = {{{0, 0}}}; Do[AppendTo[g, DeleteDuplicates[Partition[Flatten[Join[g, Map[# /. {{0, k_} -> {{0, k + 1}, {k, 0}}, {k_, 0} -> {0, x*k}} &, g]]], 2]]], {z}] t = Table[Drop[g[[k + 1]], Length[g[[k]]]], {k, Length[g] - 1}]; Map[Length, t] (* Fibonacci numbers *) Map[Count[IrreduciblePolynomialQ[#], {_, True}] &, t] (* Peter J. C. Moses, Oct 19 2015 *)
Comments