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!)
A306923 Sum over all partitions of n into distinct parts of the bitwise AND of the parts. 4
0, 1, 2, 3, 5, 7, 7, 7, 12, 18, 18, 22, 23, 25, 19, 26, 37, 49, 55, 64, 67, 78, 80, 93, 101, 110, 106, 122, 114, 129, 136, 158, 197, 237, 256, 287, 311, 337, 367, 403, 424, 453, 492, 525, 571, 638, 684, 754, 809, 853, 896, 955, 995, 1075, 1149, 1226, 1295, 1412 (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[And](i, r)))
end:
a:= n-> b(n$2, 2^ilog2(2*n)-1):
seq(a(n), n=0..57);
CROSSREFS
Sequence in context: A353955 A318954 A296375 * A366856 A137750 A196365
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 April 16 01:40 EDT 2024. Contains 371696 sequences. (Running on oeis4.)