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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A122874 List of pairs n+7, 13-n, n >= 0. 1
7, 13, 8, 12, 9, 11, 10, 10, 11, 9, 12, 8, 13, 7, 14, 6, 15, 5, 16, 4, 17, 3, 18, 2, 19, 1, 20, 0, 21, -1, 22, -2, 23, -3, 24, -4, 25, -5, 26, -6, 27, -7, 28, -8, 29, -9, 30, -10, 31, -11, 32, -12, 33, -13, 34, -14, 35, -15, 36, -16, 37, -17, 38, -18, 39, -19, 40, -20, 41, -21, 42 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

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

FORMULA

a(n) = -a(n-1)+a(n-2)+a(n-3). G.f.: -(7+20*x+14*x^2)/((x-1)*(1+x)^2). [R. J. Mathar, Aug 07 2009]

MATHEMATICA

CoefficientList[Series[-(7 + 20 x + 14 x^2)/((x - 1) (1 + x)^2), {x, 0, 100}], x] (* Vincenzo Librandi, May 25 2014 *)

PROG

(MAGMA) &cat[[n+7, 13-n]: n in [0..30]]; // Vincenzo Librandi, May 25 2014

CROSSREFS

Sequence in context: A130770 A158622 A215990 * A066003 A115858 A114389

Adjacent sequences:  A122871 A122872 A122873 * A122875 A122876 A122877

KEYWORD

sign,tabf,easy

AUTHOR

Stuart M. Ellerstein (ellerstein(AT)aol.com), Oct 23 2006

EXTENSIONS

Edited with better definition by Omar E. Pol and N. J. A. Sloane, Jan 02 2009

More terms from R. J. Mathar, Aug 07 2009

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 26 04:32 EDT 2019. Contains 321481 sequences. (Running on oeis4.)