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.
%I A094688 #31 Feb 09 2023 19:28:42 %S A094688 0,1,4,14,45,140,428,1297,3912,11770,35365,106184,318696,956321, %T A094688 2869340,8608630,25826877,77482228,232449268,697351985,2092062720, %U A094688 6276199106,18828615029,56485873744,169457667600,508373077825,1525119354868 %N A094688 Convolution of Fibonacci(n) and 3^n. %H A094688 Vincenzo Librandi, <a href="/A094688/b094688.txt">Table of n, a(n) for n = 0..1000</a> %H A094688 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (4,-2,-3). %F A094688 G.f.: x/((1-3*x)*(1-x-x^2)). %F A094688 a(n) = (1/5)*(3^(n+1) - Lucas(n+2)). %F A094688 a(n) = 4*a(n-1) - 2*a(n-2) - 3*a(n-3). %F A094688 a(n) = A101220(3, 3, n). - _Ross La Haye_, Jan 28 2005 %F A094688 a(n) = a(n-1) + a(n-2) + 3^(n-1) for n > 1, with a(0) = 0, a(1) = 1. - _Ross La Haye_, Aug 20 2005 %F A094688 a(n) = 3*a(n-1) + Fibonacci(n), where a(0) = 0. - _Taras Goy_, Mar 24 2019 %t A094688 LinearRecurrence[{4,-2,-3},{0,1,4},40] (* _Vincenzo Librandi_, Jun 24 2012 *) %t A094688 Table[(3^(n+1) -LucasL[n+2])/5, {n,0,40}] (* _Vladimir Reshetnikov_, Sep 27 2016 *) %o A094688 (PARI) a(n)=(3^(n+1)-fibonacci(n+1)-fibonacci(n+3))/5 \\ _Charles R Greathouse IV_, Jun 28 2011 %o A094688 (Magma) I:=[0,1,4]; [n le 3 select I[n] else 4*Self(n-1)-2*Self(n-2) -3*Self(n-3): n in [1..41]]; // _Vincenzo Librandi_, Jun 24 2012 %o A094688 (SageMath) [(3^(n+1) -lucas_number2(n+2,1,-1))/5 for n in range(41)] # _G. C. Greubel_, Feb 09 2023 %Y A094688 Cf. A000032, A000045, A101220. %K A094688 easy,nonn %O A094688 0,3 %A A094688 _Paul Barry_, May 19 2004