|
|
A045678
|
|
Number of 2n-bead balanced binary necklaces which are equivalent to their reversed complement, but not equivalent to their reverse and complement.
|
|
3
|
|
|
0, 0, 0, 2, 4, 12, 26, 56, 116, 240, 492, 992, 2010, 4032, 8120, 16256, 32628, 65280, 130800, 261632, 523756, 1047552, 2096096, 4192256, 8386522, 16773120, 33550272, 67100672, 134209464, 268419072, 536854400, 1073709056, 2147450740
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
COMMENTS
|
The number of 2n-bead balanced binary necklaces which are equivalent to their reversed complement is A011782(n) and those which are equivalent to their reverse, complement and reversed complement is A045674(n). - Andrew Howroyd, Sep 28 2017
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
b[0] = 1; b[n_] := 2^(n - 1);
c[0] = 1; c[n_] := c[n] = If[EvenQ[n], 2^(n/2-1) + c[n/2], 2^((n-1)/2)];
a[n_] := b[n] - c[n];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|