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.

A141317 a(n) = A000244(n) - A010684(n).

Original entry on oeis.org

0, 0, 8, 24, 80, 240, 728, 2184, 6560, 19680, 59048, 177144, 531440, 1594320, 4782968, 14348904, 43046720, 129140160, 387420488, 1162261464, 3486784400, 10460353200, 31381059608, 94143178824, 282429536480, 847288609440
Offset: 0

Views

Author

Paul Curtz, Aug 02 2008

Keywords

Programs

  • Maple
    A010684 := proc(n) 1+2*(n mod 2) ; end: A141317 := proc(n) 3^n-A010684(n) ; end: for n from 0 to 50 do printf("%d,",A141317(n)) ; od: # R. J. Mathar, Aug 09 2008
  • Mathematica
    CoefficientList[Series[8x^2/((1-3x)(1-x)(1+x)),{x,0,30}],x] (* Harvey P. Dale, Sep 16 2019 *)

Formula

O.g.f.: 8*x^2/((1-3*x)*(1-x)*(1+x)). - R. J. Mathar, Aug 09 2008

Extensions

Extended by R. J. Mathar, Aug 09 2008