login
A066164
Sum of interior angles in an n-sided polygon in degrees.
2
180, 360, 540, 720, 900, 1080, 1260, 1440, 1620, 1800, 1980, 2160, 2340, 2520, 2700, 2880, 3060, 3240, 3420, 3600, 3780, 3960, 4140, 4320, 4500, 4680, 4860, 5040, 5220, 5400, 5580, 5760, 5940, 6120, 6300, 6480, 6660, 6840, 7020, 7200, 7380, 7560, 7740, 7920, 8100
OFFSET
3,1
FORMULA
a(n) = (n-2)*180.
From Elmo R. Oliveira, Apr 17 2026: (Start)
G.f.: 180*x^3/(1 - x)^2.
E.g.f.: 180*((x - 2)*exp(x) + x + 2).
a(n) = 180*A000027(n-2) = 18*A008592(n-2).
a(n) = 2*a(n-1) - a(n-2) for n > 4. (End)
EXAMPLE
a(3) = 180, since the sum of the interior angles in a triangle is 180 degrees.
MATHEMATICA
180 Range[36] (* Alonso del Arte, Sep 22 2017 *)
(* Alternative: *)
LinearRecurrence[{2, -1}, {180, 360}, 50] (* Harvey P. Dale, Apr 06 2022 *)
PROG
(PARI) a(n) = { (n - 2)*180 } \\ Harry J. Smith, Feb 03 2010
CROSSREFS
Sequence in context: A135193 A095650 A394977 * A008891 A015233 A307112
KEYWORD
nonn,easy
AUTHOR
Ulrich Schimke (ulrschimke(AT)aol.com), Dec 12 2001
STATUS
approved