# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a152239 Showing 1-1 of 1 %I A152239 #26 Apr 09 2024 08:09:14 %S A152239 1,-7,42,-259,1589,-9758,59913,-367871,2258746,-13868827,85155357, %T A152239 -522858574,3210380369,-19711911863,121032221898,-743144492531, %U A152239 4562948015941,-28016751527422,172024393748697,-1056239229435439 %N A152239 a(n) = -5*a(n-1) + 7*a(n-2) for n > 1 with a(0) = 1 and a(1) = -7. %H A152239 Harvey P. Dale, Table of n, a(n) for n = 0..1000 %H A152239 Index entries for linear recurrences with constant coefficients, signature (-5,7). %F A152239 G.f.: (1 - 2*x)/(1 + 5*x - 7*x^2). %F A152239 a(n) = Sum_{k=0..n} A147703(n,k)*(-8)^k. %t A152239 LinearRecurrence[{-5,7},{1,-7},20] (* _Harvey P. Dale_, Apr 14 2022 *) %o A152239 (PARI) Vec((1-2*x)/(1+5*x-7*x^2)+O(x^99)) \\ _Charles R Greathouse IV_, Jan 17 2012 %Y A152239 Cf. A147703. %K A152239 sign,easy,less %O A152239 0,2 %A A152239 _Philippe Deléham_, Nov 30 2008 %E A152239 Several terms corrected by _Johannes W. Meijer_, Aug 17 2010 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE