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.

A084509 Number of ground-state 3-ball juggling sequences of period n.

Original entry on oeis.org

1, 1, 2, 6, 24, 96, 384, 1536, 6144, 24576, 98304, 393216, 1572864, 6291456, 25165824, 100663296, 402653184, 1610612736, 6442450944, 25769803776, 103079215104, 412316860416, 1649267441664, 6597069766656, 26388279066624, 105553116266496, 422212465065984
Offset: 0

Views

Author

Antti Karttunen, Jun 02 2003

Keywords

Comments

This sequence counts the length n asynchronic site swaps given in A084501/A084502.
Equals row sums of triangle A145463. - Gary W. Adamson, Oct 11 2008
a(n) is the number of permutations of length n+1 avoiding the partially ordered pattern (POP) {1>2, 1>3, 1>4, 1>5} of length 5. That is, the number of length n+1 permutations having no subsequences of length 5 in which the first element is the largest. - Sergey Kitaev, Dec 11 2020
a(n) is the number of permutations p[1]..p[n] of {1,...,n} with p[j+1] < p[j]+4 for 0 < j < n. - Don Knuth, Apr 25 2022

References

  • B. Polster, The Mathematics of Juggling, Springer-Verlag, 2003, p. 48.

Crossrefs

First differences of A084508.
INVERT transform of A084519.

Programs

  • Maple
    A084509 := n -> `if`((n<4),n!,6*(4^(n-3)));
    INVERT([seq(A084519(n),n=1..12)]);
  • Mathematica
    LinearRecurrence[{4},{1,2,6},30] (* Harvey P. Dale, Aug 23 2018 *)

Formula

a(n) = n! for n <= 4, a(n) = 6*4^(n-3) = A002023(n-3) for n >= 3.
G.f.: 1 + x*(1 - 2*x - 2*x^2)/(1 - 4*x). - Philippe Deléham, Aug 16 2005

Extensions

a(0)=1 prepended by Alois P. Heinz, Dec 11 2020