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.

A147975 a(n) = 4^n-3^n-2^n-1.

Original entry on oeis.org

-2, -2, 2, 28, 158, 748, 3302, 14068, 58718, 241948, 988502, 4015108, 16241678, 65506348, 263636102, 1059360148, 4251855038, 17050597948, 68331794102, 273715121188, 1096023794798, 4387584060748, 17560800790502, 70274592610228
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    lst={};Do[p=4^n-3^n-2^n-1^n;AppendTo[lst,p],{n,0,5!}];lst
    LinearRecurrence[{10,-35,50,-24},{-2,-2,2,28},40] (* Harvey P. Dale, Nov 08 2016 *)
  • PARI
    a(n)=4^n-3^n-2^n-1 \\ Charles R Greathouse IV, Oct 07 2015

Formula

G.f.: 2*x*(19*x^3-24*x^2+9*x-1)/((x-1)*(2*x-1)*(3*x-1)*(4*x-1)). - Colin Barker, Oct 29 2012