OFFSET
1,3
COMMENTS
Number of adjacent pairs of sectors in a circle with n equal sections.
LINKS
FORMULA
G.f.: (1+x-x^2)*x^2/(1-x)^2. - Philippe Deléham, Dec 23 2011
a(1) = 0, a(2) = 1, a(n) = n for n > 2. - Wesley Ivan Hurt, Jun 17 2019
MATHEMATICA
CoefficientList[Series[(1+x-x^2)*x^2/(1-x)^2, {x, 0, 50}], x] (* G. C. Greubel, Jun 03 2017 *)
PROG
(PARI) a(n)=n-(n<3) \\ Charles R Greathouse IV, Dec 22 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Dec 22 2011
STATUS
approved