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.

A024067 a(n) = 6^n - n^5.

Original entry on oeis.org

1, 5, 4, -27, 272, 4651, 38880, 263129, 1646848, 10018647, 60366176, 362636005, 2176533504, 13060322723, 78363626272, 470184225201, 2821108858880, 16926658024879, 101559954778848, 609359737534397
Offset: 0

Views

Author

Keywords

Programs

  • Magma
    [6^n-n^5: n in [0..25]]; // Vincenzo Librandi, Jul 03 2011
  • Mathematica
    Table[6^n-n^5,{n,0,20}] (* or *) LinearRecurrence[{12,-51,110,-135,96,-37,6},{1,5,4,-27,272,4651,38880},20] (* Harvey P. Dale, Apr 08 2015 *)

Formula

a(0)=1, a(1)=5, a(2)=4, a(3)=-27, a(4)=272, a(5)=4651, a(6)=38880, a(n)=12*a(n-1)-51*a(n-2)+110*a(n-3)-135*a(n-4)+96*a(n-5)- 37*a(n-6)+ 6*a(n-7). - Harvey P. Dale, Apr 08 2015