OFFSET
1,4
COMMENTS
See illustration in the links.
LINKS
Kival Ngaokrajang, Illustration of T(n,k), n = 1..4, k = 3..6, Example of table
FORMULA
T(n,k) = floor(k*n^2/(4*tan(Pi/k))), n >=1, k >=3.
EXAMPLE
See table in the links.
MATHEMATICA
t[n_, k_] := Floor[k*n^2/(4 Tan[Pi/k])]; Table[t[n - k + 1, k], {n, 3, 14}, {k, 3 , n}] // Flatten
(* to view table: Table[t[n, k], {k, 3, 6}, {n, 6}] // TableForm *) (* Robert G. Wilson v, Feb 28 2015 *)
PROG
(PARI){for(i=1, 20, for(n=3, i-1, a=floor(n*(i-n)^2/(4*tan(Pi/n))); print1(a, ", ")))}
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Kival Ngaokrajang, Feb 27 2015
STATUS
approved