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.

A151646 Number of permutations of 4 indistinguishable copies of 1..n with exactly 8 adjacent element pairs in decreasing order.

Original entry on oeis.org

0, 0, 1, 4961755, 93200908410, 342907451401150, 580563155365559991, 636819836268006188325, 536414785137072299859000, 381545916738691833553696960, 242640958318176281706165559005, 143034343946525950106468425526767, 80029528286823033581035280235294534
Offset: 1

Views

Author

R. H. Hardin, May 29 2009

Keywords

Crossrefs

Column k=8 of A236463.

Programs

  • Magma
    [(&+[(-1)^j*Binomial(4*n+1, j)*Binomial(12-j, 4)^n: j in [0..8]]): n in [1..30]]; // G. C. Greubel, Sep 12 2022
    
  • Mathematica
    Table[Sum[(-1)^j*Binomial[4*n+1, j]*Binomial[12-j, 4]^n, {j,0,8}], {n, 30}] (* G. C. Greubel, Sep 12 2022 *)
  • SageMath
    def A151646(n): return sum((-1)^j*binomial(4*n+1, j)*binomial(12-j, 4)^n for j in (0..8))
    [A151646(n) for n in (1..30)] # G. C. Greubel, Sep 12 2022

Formula

From G. C. Greubel, Sep 12 2022: (Start)
a(n) = Sum_{j=0..8} (-1)^j*binomial(4*n+1, j)*binomial(12-j, 4)^n.
G.f., e.g.f., and recurrence are in the file "Generating functions and recurrence". (End)

Extensions

Terms a(8) and beyond from Andrew Howroyd, May 06 2020