login
Number of integers in n-th generation of tree T(3^(-1/2)) defined in Comments.
2

%I #8 Jul 04 2016 05:53:54

%S 1,1,1,1,1,2,2,2,3,4,4,6,7,9,11,14,16,22,26,33,40,53,62,82,97,127,151,

%T 198,234,309,366,480,570,749,887,1165,1382,1815,2153,2827,3353,4405,

%U 5224,6859,8137,10687,12675,16646,19746,25932,30761,40395,47917,62929,74647,98027,116285,152711,181150

%N Number of integers in n-th generation of tree T(3^(-1/2)) defined in Comments.

%C Let T* be the infinite tree with root 0 generated by these rules: if p is in T*, then p+1 is in T* and x*p is in T*. Let g(n) be the set of nodes in the n-th generation, so that g(0) = {0}, g(1) = {1}, g(2) = {2,x}, g(3) = {3,2x,x+1,x^2}, etc. Let T(r) be the tree obtained by substituting r for x.

%C See A274142 for a guide to related sequences.

%H Kenny Lau, <a href="/A274157/b274157.txt">Table of n, a(n) for n = 0..10382</a>

%e If r = 3^(-1/2), then g(3) = {3,2r,r+1, r^2}, in which the number of integers is a(3) = 1.

%t z = 18; t = Join[{{0}}, Expand[NestList[DeleteDuplicates[Flatten[Map[{# + 1, x*#} &, #], 1]] &, {1}, z]]];

%t u = Table[t[[k]] /. x -> 3^(-1/2), {k, 1, z}]; Table[Count[Map[IntegerQ, u[[k]]], True], {k, 1, z}]

%Y Cf. A274142.

%K nonn,easy

%O 0,6

%A _Clark Kimberling_, Jun 12 2016

%E More terms from _Kenny Lau_, Jul 04 2016