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.

A142584 a(n) = A014217(n+1) - A115360(n+2).

Original entry on oeis.org

2, 4, 6, 10, 18, 28, 46, 76, 122, 198, 322, 520, 842, 1364, 2206, 3570, 5778, 9348, 15126, 24476, 39602, 64078, 103682, 167760, 271442, 439204, 710646, 1149850, 1860498, 3010348, 4870846, 7881196, 12752042, 20633238, 33385282, 54018520, 87403802, 141422324, 228826126
Offset: 1

Views

Author

Paul Curtz, Sep 21 2008

Keywords

Crossrefs

Programs

  • Magma
    [Lucas(n+1) - (1/2)*(1 + (-1)^((n+2) mod 3)): n in [1..45]]; // G. C. Greubel, Apr 14 2021
    
  • Mathematica
    Table[LucasL[n+1] - (1/2)*(1+(-1)^Mod[n+2, 3]), {n, 45}] (* G. C. Greubel, Apr 14 2021 *)
  • Sage
    [lucas_number2(n+1,1,-1) - (1/2)*(1 + (-1)^((n+2)%3)) for n in (1..45)] # G. C. Greubel, Apr 14 2021

Formula

a(n) = Lucas(n+1) - (1/2)*(1 + (-1)^((n+2) mod 3)). - G. C. Greubel, Apr 14 2021

Extensions

Edited by Omar E. Pol and N. J. A. Sloane, Jan 06 2009
More terms from Daniel Suteu, Nov 24 2019