|
EXAMPLE
|
Let b(n) = A000123(n) = number of partitions of 2n into powers of 2, then the initial terms of this sequence begin:
b(0), b(0), b(1), b(2), b(5), b(10), b(21), b(42), b(85), b(170),...
OSCILLATING PARITY TREE.
a(n) = number of nodes in generation n of the following tree.
Start at generation 0 with a single root node labeled [1].
From then on, each parent node [k] is attached k child nodes with labels having opposite parity to k within the range {1..2k}.
The initial generations 0..5 of the tree begin as follows; the path from the root node is given, followed by child nodes in [].
GEN.0: [1];
GEN.1: 1->[2];
GEN.2: 1-2->[1,3];
GEN.3:
1-2-1->[2]
1-2-3->[2,4,6]
GEN.4:
1-2-1-2->[1,3]
1-2-3-2->[1,3]
1-2-3-4->[1,3,5,7]
1-2-3-6->[1,3,5,7,9,11];
GEN.5:
1-2-1-2-1->[2]
1-2-1-2-3->[2,4,6]
1-2-3-2-1->[2]
1-2-3-2-3->[2,4,6]
1-2-3-4-1->[2]
1-2-3-4-3->[2,4,6]
1-2-3-4-5->[2,4,6,8,10]
1-2-3-4-7->[2,4,6,8,10,12,14]
1-2-3-6-1->[2]
1-2-3-6-3->[2,4,6]
1-2-3-6-5->[2,4,6,8,10]
1-2-3-6-7->[2,4,6,8,10,12,14]
1-2-3-6-9->[2,4,6,8,10,12,14,16,18]
1-2-3-6-11->[2,4,6,8,10,12,14,16,18,20,22] .
Note: largest node label in generation n is A000975(n) + 1.
|