OFFSET
0,2
REFERENCES
R. Schroeppel: DECsystem-10/20 Processor Reference Manual AA-H391A-TK, Chapter 2, User Operations, section 2.15: Programming Examples: Reversing Order of Digits.
LINKS
M. Beeler, R. W. Gosper, and R. Schroeppel, A Bit-Reversing Example in HAKMEM (Item 167).
Antti Karttunen, A Simple C program Demonstrating Bit Reversals.
FORMULA
a(n) = 2^n * ( 2^(2*n^2+3*n+1) + 2^(2*n^2+2*n) - 2^(3*n+1) - 1 ) / (2^(2*n+1) - 1).
log(a(n)) ~ log(4) * n ^ 2. - Bill McEachen, Jul 13 2024
MATHEMATICA
Table[2^n*(2^(2*n^2 + 3*n + 1) + 2^(2*n^2 + 2*n) - 2^(3*n + 1) - 1)/(2^(2*n + 1) - 1), {n, 0, 10}] (* Wesley Ivan Hurt, Jun 10 2024 *)
PROG
(PARI) A036214(n) = 2^n * ( 2^(2*n^2+3*n+1) + 2^(2*n^2+2*n) - 2^(3*n+1) - 1 ) / (2^(2*n+1) - 1); \\ Antti Karttunen, Jan 14 2024
CROSSREFS
KEYWORD
nonn,nice
AUTHOR
STATUS
approved