OFFSET
1,2
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
EXAMPLE
Taking the first generation of edges of the tree to be G(1) = {(1,3)}, the edge (1,3) grows G(2) = {(3,4), (3,7)}, which grows G(3) = {(4,7), (4,11), (7,10),(7,17)}, ... Expelling duplicate nodes and sorting leave {1,3,4,7,10,11,...}.
MATHEMATICA
f[x_, y_] := {{y, x + y}, {y, x + 2 y}}; x = 1; y = 3; t = {{x, y}};
u = Table[t = Flatten[Map[Apply[f, #] &, t], 1], {12}]; v = Flatten[u];
w = Flatten[Prepend[Table[v[[2 k]], {k, 1, Length[v]/2}], {x, y}]];
Sort[Union[w]]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 05 2013
STATUS
approved