A046956 Numbers k where tan(k) decreases monotonically to 0 (or cot(k) increases).
1, 4, 7, 10, 13, 16, 19, 22, 355, 104348, 312689, 1146408, 5419351, 85563208, 165707065, 411557987, 1480524883, 2549491779, 8717442233, 14885392687, 35938735828, 56992078969, 78045422110, 99098765251, 120152108392
Offset: 0
Keywords
Examples
a(1) is the numerator of [3;1] = 3 + 1/1 = 4/1 a(2) is the numerator of [3;2] = 3 + 1/2 = 7/2 ... a(7) is the numerator of [3;7] = 3 + 1/7 = 22/7 a(8) is the numerator of [3;7,15,1] = 3 + 1/(7 + 1/(15 + 1/1)) = 355/113 a(9) is the numerator of [3;7,15,1,292,1] = 3 + 1/(7 + 1/(15 + 1/(1 + 1/(292 + 1/1)))) = 104348/33215
Programs
-
Mathematica
s = Tan[1]; Do[t = Tan[n]; If[t > 0 && t <= s, Print[n]; s = t], {n, 10^9}] (* Ryan Propper, Jul 27 2006 *)
-
PARI
e=2;for(n=1,1e9, tan(n)>0 && tan(n)
M. F. Hasler, Apr 01 2013
Extensions
More terms from Michel ten Voorde
2 more terms from Ryan Propper, Jul 27 2006
More terms from Jon E. Schoenfield, Aug 10 2006
Corrected by Don Reble, Nov 20 2006
Comments