login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

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
OFFSET
3,1
FORMULA
a(n) = (n-2)*180.
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 *)
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: A160134 A135193 A095650 * A008891 A015233 A307112
KEYWORD
nonn,easy
AUTHOR
Ulrich Schimke (ulrschimke(AT)aol.com), Dec 12 2001
STATUS
approved