login
a(n) = least k such that tan(k) < tan(a(n-1)), for n >= 1, with a(0) = 0.
1

%I #12 Jul 25 2019 01:00:41

%S 0,2,5,8,11,52174,573204,42781604,288632526

%N a(n) = least k such that tan(k) < tan(a(n-1)), for n >= 1, with a(0) = 0.

%o (PARI) a(nn) = {last = 0; lastk = 0; print1(lastk, ", "); for (i=1, nn, k = lastk; while (tan(k) >= last, k++;); print1(k, ", "); last = tan(k); lastk = k;);} \\ _Michel Marcus_, Mar 23 2013

%K nonn,more

%O 0,2

%A _Clark Kimberling_

%E a(7) from _Michel Marcus_, Mar 23 2013

%E a(8) from _Sean A. Irvine_, Jul 24 2019