login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A015000 q-integers for q=-13. 4
1, -12, 157, -2040, 26521, -344772, 4482037, -58266480, 757464241, -9847035132, 128011456717, -1664148937320, 21633936185161, -281241170407092, 3656135215292197, -47529757798798560, 617886851384381281 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..200

Index entries for linear recurrences with constant coefficients, signature (-12,13).

FORMULA

a(n) = a(n-1) + q^(n-1) = (q^n - 1) / (q - 1).

a(n) = Sum_{j=0..n-1} (-13)^j. - Zerinvary Lajos, Dec 16 2008

G.f.: x/((1 - x)*(1 + 13*x)). - Vincenzo Librandi, Oct 22 2012

a(n) = -12*a(n-1) + 13*a(n-2). - Vincenzo Librandi, Oct 22 2012

MAPLE

a:=n->sum ((-13)^j, j=0..n-1): seq(a(n), n=0..20); # Zerinvary Lajos, Dec 16 2008

MATHEMATICA

QBinomial[Range[20], 1, -13] (* Harvey P. Dale, May 02 2012 *)

LinearRecurrence[{-12, 13}, {1, -12}, 30] (* Vincenzo Librandi, Oct 22 2012 *)

PROG

(Sage) [gaussian_binomial(n, 1, -13) for n in xrange(1, 18)] # Zerinvary Lajos, May 28 2009

(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

CROSSREFS

Cf. A077925, A014983, A014985-A014987, A014989-A014994.

Sequence in context: A218839 A036276 A003130 * A220225 A213376 A269642

Adjacent sequences:  A014997 A014998 A014999 * A015001 A015002 A015003

KEYWORD

sign,easy

AUTHOR

Olivier Gérard

EXTENSIONS

Edited by N. J. A. Sloane, Jan 13 2009 at the suggestion of R. J. Mathar

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 19 22:04 EST 2018. Contains 299357 sequences. (Running on oeis4.)