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.

A002634 From discordant permutations.

Original entry on oeis.org

-2, 3, 0, 25, 152, 1350, 12644, 131391, 1489568, 18329481, 243365514, 3468969962, 52848096274, 857073295427, 14744289690560, 268202790690465, 5143861702523924, 103746422699053582, 2195275169113687656, 48629604864202585247
Offset: 3

Views

Author

Keywords

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Cf. A000183.

Formula

a(n) = b(n) - 2*b(n-1) + b(n-2) + 2*a(n-1) + 2*a(n-2) - 2*a(n-3) + a(n-4) + 4*(-1)^n where b(n) = A000183(n) and n>6. a(3)=-2, a(4)=3, a(5)=0, a(6)=25. - Sean A. Irvine, May 03 2014

Extensions

More terms from Sean A. Irvine, May 03 2014