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 A015000 #40 Sep 08 2022 08:44:39 %S A015000 1,-12,157,-2040,26521,-344772,4482037,-58266480,757464241, %T A015000 -9847035132,128011456717,-1664148937320,21633936185161, %U A015000 -281241170407092,3656135215292197,-47529757798798560,617886851384381281 %N A015000 q-integers for q=-13. %H A015000 Vincenzo Librandi, <a href="/A015000/b015000.txt">Table of n, a(n) for n = 1..200</a> %H A015000 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (-12,13). %F A015000 a(n) = a(n-1) + q^(n-1) = (q^n - 1) / (q - 1), with q=-13. %F A015000 a(n) = Sum_{j=0..n-1} (-13)^j. - _Zerinvary Lajos_, Dec 16 2008 %F A015000 G.f.: x/((1 - x)*(1 + 13*x)). - _Vincenzo Librandi_, Oct 22 2012 %F A015000 a(n) = -12*a(n-1) + 13*a(n-2). - _Vincenzo Librandi_, Oct 22 2012 %F A015000 From _G. C. Greubel_, May 26 2018: (Start) %F A015000 a(n) = (1 - (-13)^n)/14. %F A015000 E.g.f.: (exp(x) - exp(-13*x))/14. (End) %p A015000 a:=n->sum ((-13)^j, j=0..n-1): seq(a(n), n=0..20); # _Zerinvary Lajos_, Dec 16 2008 %t A015000 QBinomial[Range[20],1,-13] (* _Harvey P. Dale_, May 02 2012 *) %t A015000 LinearRecurrence[{-12, 13}, {1, -12}, 30] (* _Vincenzo Librandi_, Oct 22 2012 *) %o A015000 (Sage) [gaussian_binomial(n,1,-13) for n in range(1,18)] # _Zerinvary Lajos_, May 28 2009 %o A015000 (Magma) I:=[1,-12]; [n le 2 select I[n] else -12*Self(n-1)+13*Self(n-2): n in [1..30]]; // _Vincenzo Librandi_, Oct 22 2012 %o A015000 (PARI) for(n=1, 30, print1((1-(-13)^n)/14, ", ")) \\ _G. C. Greubel_, May 26 2018 %Y A015000 Cf. A077925, A014983, A014985-A014987, A014989-A014994. %K A015000 sign,easy %O A015000 1,2 %A A015000 _Olivier Gérard_ %E A015000 Edited by _N. J. A. Sloane_, Jan 13 2009 at the suggestion of _R. J. Mathar_