The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A171232 Array read by antidiagonals, T(n,k) = 2*(n/k) - 1, if n mod k = 0; otherwise, T(n,k) = 1. 1
1, 3, 1, 5, 1, 1, 7, 1, 1, 1, 9, 3, 1, 1, 1, 11, 1, 1, 1, 1, 1, 13, 5, 1, 1, 1, 1, 1, 15, 1, 3, 1, 1, 1, 1, 1, 17, 7, 1, 1, 1, 1, 1, 1, 1, 19, 1, 1, 1, 1, 1, 1, 1, 1, 1, 21, 9, 5, 3, 1, 1, 1, 1, 1, 1, 1, 23, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 25, 11, 1, 1, 1, 1 (list; table; graph; refs; listen; history; text; internal format)
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).
LINKS
FORMULA
T(n,k) = A171233(n,k) - A077049(n,k).
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
Cf. T(n, 1) = A005408(n-1), T(n, 2) = A093178(n-1), A171233, A077049.
Sequence in context: A307410 A305444 A002945 * A093423 A326454 A227507
KEYWORD
cofr,nonn,tabl
AUTHOR
Ross La Haye, Dec 05 2009
EXTENSIONS
More terms from Amiram Eldar, Jun 29 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 13 14:28 EDT 2024. Contains 372519 sequences. (Running on oeis4.)