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.

A212262 a(n) = 3^n + Fibonacci(n).

Original entry on oeis.org

1, 4, 10, 29, 84, 248, 737, 2200, 6582, 19717, 59104, 177236, 531585, 1594556, 4783346, 14349517, 43047708, 129141760, 387423073, 1162265648, 3486791166, 10460364149, 31381077320, 94143207484, 282429582849, 847288684468, 2541865949722, 7625597681405
Offset: 0

Views

Author

Bruno Berselli, May 08 2012

Keywords

Crossrefs

Programs

  • Magma
    [3^n+Fibonacci(n): n in [0..27]];
    
  • Mathematica
    Table[3^n + Fibonacci[n], {n, 0, 27}]
  • PARI
    for(n=0, 27, print1(3^n+fibonacci(n)", "));
    
  • Sage
    [3^n +fibonacci(n) for n in (0..30)] # G. C. Greubel, Jul 05 2021

Formula

G.f.: (1-2*x)*(1+2*x)/((1-3*x)*(1-x-x^2)).