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.

A036999 Restricted permutations.

Original entry on oeis.org

6, 9, 12, 18, 27, 42, 66, 105, 168, 270, 435, 702, 1134, 1833, 2964, 4794, 7755, 12546, 20298, 32841, 53136, 85974, 139107, 225078, 364182, 589257, 953436, 1542690, 2496123, 4038810, 6534930, 10573737, 17108664, 27682398, 44791059
Offset: 0

Views

Author

Keywords

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).

Crossrefs

Equals A022086(n+3) + 3.

Programs

  • Magma
    [6] cat [3*Fibonacci(n+3)+3: n in [0..40]]; // Vincenzo Librandi, Jul 01 2017
  • Mathematica
    Join[{6}, Table[3 Fibonacci[n+3] + 3, {n, 0, 40}]] (* or *) CoefficientList[Series[3 (2 - x - 2 x^2) / ((x^2 + x - 1) (x - 1)), {x, 0, 33}], x] (* Vincenzo Librandi, Jul 01 2017 *)

Formula

G.f.: 3*(2-x-2*x^2)/((x^2+x-1)*(x-1)). - Vincenzo Librandi, Jul 01 2017