OFFSET
1,2
FORMULA
a(k) = floor(cot(Pi/(2*A223578(k)))).
Conjectures from Colin Barker, Jan 03 2014: (Start)
a(n) = a(n-1) + a(n-3) - a(n-4) for n > 6.
G.f.: x*(x^17 - x^16 + x^5 + 2*x^4 + x^3 + x^2 + x + 1) / ((x-1)^2*(x^2 + x + 1)). (End)
MATHEMATICA
f[n_] := Floor[Cot[Pi/(2 n)]]; Transpose[Select[Tally[Table[-f[-n], {n, 2, 300}]], #[[2]] == 1 &]][[1]] (* T. D. Noe, Mar 22 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
L. Edson Jeffery, Mar 22 2013
STATUS
approved