# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a014903 Showing 1-1 of 1 %I A014903 #26 Feb 19 2024 01:52:36 %S A014903 1,21,402,7642,145203,2758863,52418404,995949684,18923044005, %T A014903 359537836105,6831218886006,129793158834126,2466070017848407, %U A014903 46855330339119747,890251276443275208,16914774252422228968,321380710796022350409,6106233505124424657789 %N A014903 a(1)=1, a(n) = 19*a(n-1) + n. %H A014903 Vincenzo Librandi, Table of n, a(n) for n = 1..200 %H A014903 Index entries for linear recurrences with constant coefficients, signature (21, -39, 19). %F A014903 a(1)=1, a(2)=21, a(3)=402, a(n) = 21*a(n-1) - 39*a(n-2) + 19*a(n-3). - _Vincenzo Librandi_, Oct 20 2012 %t A014903 LinearRecurrence[{21, -39, 19}, {1, 21, 402}, 20] (* _Vincenzo Librandi_, Oct 20 2012 *) %o A014903 (Magma) I:=[1, 21, 402]; [n le 3 select I[n] else 21*Self(n-1) - 39*Self(n-2) + 19*Self(n-3): n in [1..20]]; // _Vincenzo Librandi_, Oct 20 2012 %K A014903 nonn %O A014903 1,2 %A A014903 _N. J. A. Sloane_, _Olivier GĂ©rard_ # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE