[go: up one dir, main page]

login
A001478
The negative integers.
7
-1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -21, -22, -23, -24, -25, -26, -27, -28, -29, -30, -31, -32, -33, -34, -35, -36, -37, -38, -39, -40, -41, -42, -43, -44, -45, -46, -47, -48, -49, -50, -51, -52, -53, -54, -55, -56, -57, -58, -59, -60, -61, -62, -63, -64, -65
OFFSET
1,2
LINKS
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
Cf. A001477 (complement in A001057), A000027, A001489, A130472.
Sequence in context: A097141 A160356 A374012 * A001489 A038608 A105811
KEYWORD
core,sign,easy
STATUS
approved