# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a090139 Showing 1-1 of 1 %I A090139 #13 Sep 08 2022 08:45:12 %S A090139 1,5,30,200,1400,10000,72000,520000,3760000,27200000,196800000, %T A090139 1424000000,10304000000,74560000000,539520000000,3904000000000, %U A090139 28249600000000,204416000000000,1479168000000000,10703360000000000 %N A090139 a(n) = 10*a(n-1) - 20*a(n-2), a(0)=1,a(1)=5. %C A090139 Fifth binomial transform of (1, 0, 5, 0, 25, 0, ...). %H A090139 G. C. Greubel, Table of n, a(n) for n = 0..1000 %H A090139 Index entries for linear recurrences with constant coefficients, signature (10,-20). %F A090139 a(n) = ((5-sqrt(5))^n + (5+sqrt(5))^n)/2. %F A090139 a(n) = Sum_{k=0..floor(n/2)} C(n, 2k) * 5^(n-k). %F A090139 a(n) = Sum_{k=0..n} C(n, k) * 5^(n-k/2) * (1+(-1)^k)/2. %F A090139 a(n) = Sum_{k=0..n} 5^k*A098158(n,k). - _Philippe Deléham_, Dec 04 2006 %F A090139 G.f.: (1-5*x)/(1-10*x+20*x^2). - _G. C. Greubel_, Aug 02 2019 %t A090139 LinearRecurrence[{10, -20}, {1,5}, 30] (* _G. C. Greubel_, Aug 02 2019 *) %o A090139 (PARI) my(x='x+O('x^30)); Vec((1-5*x)/(1-10*x+20*x^2)) \\ _G. C. Greubel_, Aug 02 2019 %o A090139 (Magma) I:=[1,5]; [n le 2 select I[n] else 10*Self(n-1) -20*Self(n-2): n in [1..30]]; // _G. C. Greubel_, Aug 02 2019 %o A090139 (Sage) ((1-5*x)/(1-10*x+20*x^2)).series(x, 30).coefficients(x, sparse=False) # _G. C. Greubel_, Aug 02 2019 %o A090139 (GAP) a:=[1,5];; for n in [3..30] do a[n]:=10*a[n-1]-20*a[n-2]; od; a; # _G. C. Greubel_, Aug 02 2019 %K A090139 easy,nonn %O A090139 0,2 %A A090139 _Paul Barry_, Nov 22 2003 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE