OFFSET
1,2
LINKS
Felix Fröhlich, Table of n, a(n) for n = 1..10000 (first 1000 terms from David Wasserman)
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = -n.
G.f.: -x/(1-x)^2.
G.f. A(x) satisfies A(x) + A(-x) = 4A(x^2), A(x)A(-x) = A(x^2), A(x)^2 + A(x^2) = 4A(x)A(x^2). - Michael Somos, Mar 23 2004
a(n) = -A000027(n). - Felix Fröhlich, Jul 23 2021
MAPLE
A001478 := n->-n;
MATHEMATICA
Table[ -n, {n, 1, 50}] (* Stefan Steinerberger, Apr 01 2006 *)
Range[-1, -65, -1] (* Alonso del Arte, Oct 06 2013 *)
PROG
(PARI) a(n)=-n
(Python) def a(n): return -n # Michael S. Branicky, Nov 13 2022
CROSSREFS
KEYWORD
core,sign,easy
AUTHOR
STATUS
approved