A365538 a(0) = 1; otherwise, for i >= 0, a(4i+0) = a(4i+1) = a(2i), a(4i+2) = 2*a(2i+1), a(4i+3) = 0.
1, 1, 2, 0, 2, 2, 0, 0, 2, 2, 4, 0, 0, 0, 0, 0, 2, 2, 4, 0, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 4, 0, 4, 4, 0, 0, 4, 4, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 0
Links
- Roland Kneer, Table of n, a(n) for n = 0..10000
Formula
This sequence regarded as a triangle with rows of lengths 1, 1, 2, 4, 8, 16, ...:
1;
1;
2, 0;
2, 2, 0, 0;
2, 2, 4, 0, 0, 0, 0, 0;
2, 2, 4, 0, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0;
...
Comments