The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A372304 Binomial transform of the Gray code sequence. 2
0, 1, 5, 14, 36, 92, 228, 536, 1200, 2608, 5624, 12224, 26920, 59824, 133024, 293504, 638816, 1367488, 2877728, 5962112, 12198000, 24748192, 50041312, 101366272, 206655440, 425423136, 885598720, 1863228544, 3953671808, 8436151552, 18042976640, 38567833600 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Also second binomial transform of A109629.
LINKS
Wikipedia, Gray code
FORMULA
a(n) = Sum_{k=0..n} binomial(n,k) * A003188(k).
MAPLE
g:= proc(n) g(n):= Bits[Xor](n, iquo(n, 2)) end:
a:= n-> add(binomial(n, k)*g(k), k=0..n):
seq(a(n), n=0..40);
PROG
(Python)
from math import comb
def A372304(n): return sum(comb(n, k)*(k^k>>1) for k in range(n+1)) # Chai Wah Wu, May 02 2024
CROSSREFS
Sequence in context: A097507 A052951 A048745 * A307462 A292170 A224716
KEYWORD
nonn
AUTHOR
Alois P. Heinz, May 02 2024
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 23 10:34 EDT 2024. Contains 372760 sequences. (Running on oeis4.)