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 *)
Range[0, 70]/.(2->Nothing) (* Harvey P. Dale, Jul 14 2026 *)
(* Alternative: *)
LinearRecurrence[{2, -1}, {0, 1, 3, 4}, 70] (* Harvey P. Dale, Jul 14 2026 *)
PROG
(PARI) a(n)=n-(n<3) \\ Charles R Greathouse IV, Dec 22 2011
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Wesley Ivan Hurt, Dec 22 2011
STATUS
approved
