A series of numbers: Help needed
Posted: Sun Mar 22, 2015 6:54 pm
I hope somebody will be able to help with this. There's a series of numbers. The series will have a minimum of 2 layers, but can go as high as imaginable. I evaluated the progression of the first five evolutions.
For 2 layers: 0, 1
For 3 layers: 0, 2, 3
For 4 layers: 0, 4, 6, 7
For 5 layers: 0, 16, 24, 28, 30
For 6 layers: 0, 32, 48, 56, 60, 62
I know it is somehow a reversed base 2 exponential. The differences from layer to layer can be expressed as 2^x. If I only write down those differences as x, it looks like this:
0
1, 0
2, 1, 0
4, 3, 2, 1
5, 4, 3, 2, 1
Damn, it was so close! But it still isn't a linear progressing series. Look at the break between 4 and 5 layers. For 4 layers it is 2, 1, 0 and not 3, 2, 1. But then again they both progress linear towards their other neighbours...
Is there anybody out there who could help me getting to the formula behind this? I need it to calculate any of the numbers for any amount of layers (Like 32 for the second layer if there are six in total, but 2 for the second layer if there are only three in total). Probably I don't see the tree for the woods.
For 2 layers: 0, 1
For 3 layers: 0, 2, 3
For 4 layers: 0, 4, 6, 7
For 5 layers: 0, 16, 24, 28, 30
For 6 layers: 0, 32, 48, 56, 60, 62
I know it is somehow a reversed base 2 exponential. The differences from layer to layer can be expressed as 2^x. If I only write down those differences as x, it looks like this:
0
1, 0
2, 1, 0
4, 3, 2, 1
5, 4, 3, 2, 1
Damn, it was so close! But it still isn't a linear progressing series. Look at the break between 4 and 5 layers. For 4 layers it is 2, 1, 0 and not 3, 2, 1. But then again they both progress linear towards their other neighbours...
Is there anybody out there who could help me getting to the formula behind this? I need it to calculate any of the numbers for any amount of layers (Like 32 for the second layer if there are six in total, but 2 for the second layer if there are only three in total). Probably I don't see the tree for the woods.