OFFSET
1,1
COMMENTS
Row sums of A166751, when viewed as an irregular triangle whose row terms have the same number of bits (see the Example section there).
FORMULA
Empirical: a(n) = 12*a(n-1) - 36*a(n-2) + 32*a(n-3), with a(1) = 2, a(2) = 22, a(3) = 192.
EXAMPLE
For n = 3, the 2^(n-1) terms with bit length 2*n = 6 satisfying the criteria are (in binary): 101010, 101100, 110010 and 111000, corresponding (in decimal) to 42, 44, 50 and 56, giving a sum of 192.
MATHEMATICA
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Paolo Xausa, Aug 28 2025
STATUS
approved
