OFFSET
1,1
COMMENTS
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..9000
MATHEMATICA
z = 200; p[k_] := p[k] = k*Sin[Pi/k]; N[Table[Pi - p[n], {n, 1, z/10}]]
f[n_] := f[n] = Select[Range[z], Pi - p[#] < 1/(2 n) &, 1]
u = Flatten[Table[f[n], {n, 1, z}]] (* A248355 *)
v = Flatten[Position[Differences[u], 0]] (* A248356 *)
w = Flatten[Position[Differences[u], 1]] (* A248357 *)
f = Table[Floor[1/(Pi - p[n])], {n, 1, z}] (* A248358 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Oct 05 2014
STATUS
approved