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!)
A334921 Expansion of Phi(x) = (1/(1+x))*Product_{k>=0} (1-(x/(1+x))^2^k). 1
1, -2, 2, 0, -6, 20, -48, 96, -166, 252, -340, 416, -480, 544, -544, 0, 2906, -13396, 44100, -121792, 296860, -652808, 1306560, -2377280, 3879136, -5461952, 5892512, -2171520, -11699616, 45871040, -114213888, 228427776, -377994406, 478195212, -252252460, -1013309824 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
The Hankel transforms of Phi(x) and Phi(x^2) are identical. See Theorem 2.8 in Han paper.
LINKS
Guo-Niu Han, Jacobi continued fraction and Hankel determinants of the Thue-Morse sequence, Quaestiones Mathematicae, 2016, 39 (7), pp.895-909. hal-02125285.
FORMULA
a(n) = Sum_{k=0..n} (-1)^(n-k)*binomial(n, k)*(-1)^(2*n-2*k+A000120(k))). See Theorem 2.8 in Han paper.
a(n) = 0 for positive terms of A024036.
MATHEMATICA
a[n_] := Sum[(-1)^(n - k) * Binomial[n, k] * (-1)^(2*n - 2*k + DigitCount[k, 2, 1]), {k, 0, n}]; Array[a, 36, 0] (* Amiram Eldar, May 16 2020 *)
PROG
(PARI) a(n) = sum(k=0, n, (-1)^(n-k)*binomial(n, k)*(-1)^(2*n-2*k+hammingweight(k)));
CROSSREFS
Cf. A000120 (Hamming weight of n), A024036 (4^n - 1).
Sequence in context: A219859 A366230 A168615 * A174104 A296492 A135006
KEYWORD
sign
AUTHOR
Michel Marcus, May 16 2020
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 24 11:49 EDT 2024. Contains 371936 sequences. (Running on oeis4.)