OFFSET
0,2
COMMENTS
Bisection of A332759.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..2412
FORMULA
a(n) = A332759(2*n).
a(n) = Product(A332757(k+1)) where k ranges over the positions of 1 bits in the binary expansion of n.
a(n) = big-Theta(C^n) for C = 2.59745646488..., i.e., A*C^n < a(n) < B*C^n for constants A, B (but it's not the case that a(n) ~ C^n as lim inf a(n)/C^n and lim sup a(n)/C^n differ).
EXAMPLE
For n=2, the a(2)=6 elements satisfying x^2=1 in a fixed Sylow 2-subgroup of S_4 (which subgroup is isomorphic to the dihedral group of degree 4) are the identity and (13), (24), (12)(34), (13)(24), (14)(23).
MAPLE
b:= proc(n) b(n):=`if`(n=0, 1, b(n-1)^2+2^(2^(n-1)-1)) end:
a:= n-> (l-> mul(`if`(l[i]=1, b(i), 1), i=1..nops(l)))(Bits[Split](n)):
seq(a(n), n=0..35); # Alois P. Heinz, Feb 27 2020
MATHEMATICA
b[n_] := b[n] = If[n == 0, 1, b[n - 1]^2 + 2^(2^(n - 1) - 1)];
a[n_] := Function[l, Product[If[l[[i]] == 1, b[i], 1], {i, 1, Length[l]}]][ Reverse @ IntegerDigits[n, 2]];
a /@ Range[0, 35] (* Jean-François Alcover, Apr 10 2020, after Alois P. Heinz *)
PROG
(PARI) a(n)={my(v=vector(logint(max(1, n), 2)+1)); v[1]=2; for(n=2, #v, v[n]=v[n-1]^2 + 2^(2^(n-1)-1)); prod(k=1, #v, if(bittest(n, k-1), v[k], 1))} \\ Andrew Howroyd, Feb 27 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Nick Krempel, Feb 27 2020
EXTENSIONS
Terms a(17) and beyond from Andrew Howroyd, Feb 27 2020
STATUS
approved