This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A045656 #11 Sep 23 2019 09:45:00 %S A045656 1,2,6,8,22,32,48,100,150,260,336,684,784,1640,1868,3728,4246,8672, %T A045656 9372,19420,20752,42736,45700,94164,98832,204632,214584,441764,460524, %U A045656 950216,985968,2031556,2101398,4323888,4465056,9174400,9444988 %N A045656 Number of 2n-bead balanced binary strings, rotationally equivalent to reverse, complement and reversed complement. %H A045656 Andrew Howroyd, <a href="/A045656/b045656.txt">Table of n, a(n) for n = 0..1000</a> %F A045656 From _Andrew Howroyd_, Sep 15 2019: (Start) %F A045656 Inverse Moebius transform of A045665. %F A045656 a(n) = 2*Sum_{d|n} A023900(n/d)*d*A045674(d) for n > 0. (End) %t A045656 b[n_] := Module[{t = 0, r = n}, If[n == 0, 1, While[Mod[r, 2] == 0, r = r/2; t += 2^(r - 1)]; t + 2^Quotient[r, 2]]]; %t A045656 c[n_] := Sum[MoebiusMu[d]*d, {d, Divisors[n]}]; %t A045656 a[n_] := If[n == 0, 1, 2*Sum[c[n/d]*d*b[d], {d, Divisors[n]}]]; %t A045656 a /@ Range[0, 36] (* _Jean-François Alcover_, Sep 23 2019, from PARI *) %o A045656 (PARI) \\ here b(n) is A045674, c(n) is A023900. %o A045656 b(n) = if(n<1, n==0, my(t=0, r=n); while(r%2==0, r=r/2; t+=2^(r-1)); t + 2^(r\2)); %o A045656 c(n) = {sumdiv(n,d, moebius(d)*d)} %o A045656 a(n) = if(n<1, n==0, 2*sumdiv(n, d, c(n/d)*d*b(d))); \\ _Andrew Howroyd_, Sep 15 2019 %Y A045656 Cf. A000984, A023900, A045665, A045653, A045654, A045655, A045674. %K A045656 nonn %O A045656 0,2 %A A045656 _David W. Wilson_