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.

A051357 Chernoff sequence A006939 divided by 2.

Original entry on oeis.org

1, 6, 180, 37800, 87318000, 2622159540000, 1338638666765400000, 12984380089637682726000000, 2896722619368127899492763620000000, 18740906719713843949122453226304292600000000
Offset: 1

Views

Author

Keywords

Programs

  • Magma
    [(&*[NthPrime(k)^(n-k+1): k in [1..n]])/2: n in [1..15]]; // G. C. Greubel, Oct 14 2018
  • Mathematica
    Table[Product[Prime[k]^(n - k + 1), {k, 1, n}]/2, {n, 1, 15}] (* G. C. Greubel, Oct 14 2018 *)
  • PARI
    for(n=1, 15, print1(prod(k=1,n, prime(k)^(n-k+1))/2, ", ")) \\ G. C. Greubel, Oct 14 2018
    

Formula

a(n) = Product_{k=1..n} prime(k)^(n-k+1) / 2.