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.

A255484 a(n) = Product_{k=0..n} prime(k+1)*(binomial(n,k) mod 2).

Original entry on oeis.org

2, 6, 0, 210, 0, 0, 0, 9699690, 0, 0, 0, 0, 0, 0, 0, 32589158477190044730, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 525896479052627740771371797072411912900610967452630, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 0

Views

Author

N. J. A. Sloane, Feb 28 2015

Keywords

Comments

A123098 is a much better version of this sequence.

Crossrefs

Programs

  • Maple
    f:=n->mul(ithprime(k+1)*(binomial(n,k) mod 2),k=0..n);
    [seq(f(n),n=0..60)];
  • Python
    from operator import mul
    from functools import reduce
    from sympy import prime
    def A255484(n):
        return reduce(mul,(0 if ~n & k else prime(k+1) for k in range(n+1))) # Chai Wah Wu, Feb 09 2016