OFFSET
3,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 3..1000
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (2,-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
KEYWORD
nonn,easy
AUTHOR
Ulrich Schimke (ulrschimke(AT)aol.com), Dec 12 2001
STATUS
approved