A140531 Concatenate subsequences 0, 1, 2, 4, ..., 2^k.
0, 0, 1, 0, 1, 2, 0, 1, 2, 4, 0, 1, 2, 4, 8, 0, 1, 2, 4, 8, 16, 0, 1, 2, 4, 8, 16, 32, 0, 1, 2, 4, 8, 16, 32, 64, 0, 1, 2, 4, 8, 16, 32, 64, 128, 0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024
Offset: 0
Links
- Boris Putievskiy, Transformations Integer Sequences And Pairing Functions, arXiv:1212.2732 [math.CO], 2012.
Formula
a(n) = floor(2^(n-2-t*(t+1)/2)), where t=floor((-1+sqrt(8*n-7))/2), n>=1. - Boris Putievskiy, Dec 13 2012
Comments