The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A212323 a(n) = 3^n - Fibonacci(n). 3
1, 2, 8, 25, 78, 238, 721, 2174, 6540, 19649, 58994, 177058, 531297, 1594090, 4782592, 14348297, 43045734, 129138566, 387417905, 1162257286, 3486777636, 10460342257, 31381041898, 94143150170, 282429490113, 847288534418, 2541865706936, 7625597288569 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: (1 - 2*x + 2*x^2)/((1 - 3*x)*(1 - x - x^2)).
MATHEMATICA
Table[3^n - Fibonacci[n], {n, 0, 27}]
LinearRecurrence[{4, -2, -3}, {1, 2, 8}, 30] (* Harvey P. Dale, Dec 08 2023 *)
PROG
(PARI) for(n=0, 27, print1(3^n-fibonacci(n)", "));
(Magma) [3^n-Fibonacci(n): n in [0..27]];
CROSSREFS
Sequence in context: A309237 A037560 A138804 * A301842 A240478 A288539
KEYWORD
nonn,easy
AUTHOR
Bruno Berselli, May 09 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 17 00:45 EDT 2024. Contains 372555 sequences. (Running on oeis4.)