OFFSET
1,2
COMMENTS
T(n,1): continued fraction expansion of coth(1).
T(n,2): continued fraction expansion of tan(1) = cot(pi/2 - 1).
EXAMPLE
Array begins
1 1 1 1 1 ...
3 1 1 1 1 ...
5 1 1 1 1 ...
7 3 1 1 1 ...
9 1 1 1 1 ...
.............
MATHEMATICA
T[n_, k_] := If[Divisible[n, k], 2*(n/k) - 1, 1]; Table[T[n-k+1, k], {n, 1, 10}, {k, 1, n}] //Flatten (* Amiram Eldar, Jun 29 2020 *)
CROSSREFS
KEYWORD
AUTHOR
Ross La Haye, Dec 05 2009
EXTENSIONS
More terms from Amiram Eldar, Jun 29 2020
STATUS
approved