cp's OEIS Frontend

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.

A038533 Denominator of coefficients of both EllipticK/Pi and EllipticE/Pi.

Original entry on oeis.org

2, 8, 128, 512, 32768, 131072, 2097152, 8388608, 2147483648, 8589934592, 137438953472, 549755813888, 35184372088832, 140737488355328, 2251799813685248, 9007199254740992, 9223372036854775808, 36893488147419103232, 590295810358705651712, 2361183241434822606848
Offset: 0

Views

Author

Wouter Meeussen, revised Jan 03 2001

Keywords

Comments

Denominators are powers of 2 since EllipticK(x) = Pi * Sum_{n>=0} 2^(-4*n-1) * binomial(2*n,n)^2 * x^n and EllipticE(x) = Pi * Sum_{n>=0} 2^(-4*n-1) (-1)^(2*n) * binomial(2*n,n)^2 /(-2*n+1) * x^n.

Crossrefs

Equals 2*A056982(n).

Programs

  • Mathematica
    a[n_] := 2^(4*n - 2*DigitCount[n, 2, 1] + 1); Array[a, 20, 0] (* Amiram Eldar, Aug 03 2023 *)
  • PARI
    a(n)=my(s=n); while(n>>=1, s+=n); 2<<(2*s) \\ Charles R Greathouse IV, Apr 07 2012

Formula

a(n) = 2^(1+4*n-2*w(n)) with w(n) = A000120(n) = number of 1's in binary expansion of n.