login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A352779 Powers of -3: a(n) = (-3)^n. 1
1, -3, 9, -27, 81, -243, 729, -2187, 6561, -19683, 59049, -177147, 531441, -1594323, 4782969, -14348907, 43046721, -129140163, 387420489, -1162261467, 3486784401, -10460353203, 31381059609, -94143178827, 282429536481, -847288609443, 2541865828329, -7625597484987 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(0) = 1; a(n) = -3*a(n-1), n >= 1.
G.f.: 1/(1+3*x).
a(n) = (-1)^n*A000244(n).
E.g.f.: 1/exp(3*x). - Elmo R. Oliveira, Dec 17 2023
MATHEMATICA
LinearRecurrence[{-3}, {1}, 28]
CoefficientList[Series[1/(1+3*x), {x, 0, 27}], x]
Table[(-3)^n, {n, 0, 27}]
PROG
(PARI) a(n)=(-3)^n \\ Winston de Greef, Mar 19 2023
CROSSREFS
Sequence in context: A141413 A000244 A133494 * A050733 A238939 A351345
KEYWORD
sign,easy
AUTHOR
L. Edson Jeffery, Apr 04 2022
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 04:56 EDT 2024. Contains 371767 sequences. (Running on oeis4.)