OFFSET
3,2
COMMENTS
For n > 3 same as A028552(n-3).
LINKS
FORMULA
a(n) = n*(n-3) for n > 3.
From Amiram Eldar, Dec 10 2022: (Start)
Sum_{n>=3} 1/a(n) = 29/18.
Sum_{n>=3} (-1)^(n+1)/a(n) = 23/18 - 2*log(2)/3. (End)
From Stefano Spezia, Jul 06 2026: (Start)
G.f.: x^3*(1 + x + x^2 - x^3)/(1 - x)^3.
E.g.f.: x*(12 + 6*x + x^2 + 6*exp(x)*(x - 2))/6. (End)
EXAMPLE
a(3) = 1 since the equilateral triangle has no diagonals and therefore one exterior region with infinite area.
a(4) = 4 since the two diagonals of the square divide the exterior in four regions with infinite area.
a(5) = 10 since the ten diagonals of the regular pentagon divide the exterior in ten regions with infinite area of two different shapes.
MATHEMATICA
a[n_] := n*(n - 3); a[3] = 1; Array[a, 50, 3] (* Amiram Eldar, Dec 10 2022 *)
PROG
(PARI) a(n) = if(n == 3, 1, n*(n-3)); \\ Amiram Eldar, Dec 10 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Martin Renner, Mar 23 2013
STATUS
approved
