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!)
A306924 Sum over all partitions of n into distinct parts of the bitwise OR of the parts. 4
0, 1, 2, 6, 7, 13, 20, 35, 42, 58, 75, 104, 133, 176, 233, 327, 402, 500, 616, 762, 916, 1112, 1329, 1640, 1967, 2350, 2787, 3352, 3960, 4706, 5571, 6706, 7922, 9374, 10982, 12933, 15090, 17578, 20322, 23692, 27391, 31626, 36308, 41788, 47799, 54704, 62258 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
Wikipedia, Identity element
Wikipedia, Truth table
MAPLE
b:= proc(n, i, r) option remember; `if`(i*(i+1)/2<n or
n=0, 0, (t-> `if`(i<n, b(n-i, min(i-1, n-i), t), 0)
+`if`(i=n, t, 0)+b(n, i-1, r))(Bits[Or](i, r)))
end:
a:= n-> b(n$2, 0):
seq(a(n), n=0..49);
CROSSREFS
Sequence in context: A078471 A127406 A092310 * A087376 A199974 A176279
KEYWORD
nonn,base
AUTHOR
Alois P. Heinz, Mar 16 2019
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 June 3 23:31 EDT 2024. Contains 373088 sequences. (Running on oeis4.)