OFFSET
1,1
FORMULA
Conjecture: a(n) = a(n-1)+a(n-3)-a(n-4) for n>6. G.f.: x*(2*x^17-2*x^16+2*x^5+4*x^4+x^3+x^2+x+2) / ((x-1)^2*(x^2+x+1)). - Colin Barker, Jan 03 2014
MATHEMATICA
f[n_] := Floor[Cot[Pi/(2 n)]]; Select[Range[2, 200], f[-# - 1] < f[-#] < f[-# + 1] &] (* T. D. Noe, Mar 22 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
L. Edson Jeffery, Mar 22 2013
STATUS
approved