首先给一些三角函数标上序号: sin(x)→0sin(x) \to 0sin(x)→0 cos(x)→1cos(x) \to 1cos(x)→1 tan(x)→2tan(x) \to 2tan(x)→2 cot(x)→3cot(x) \to 3cot(x)→3 sec(x)→4sec(x) \to 4sec(x)→4 scs(x)→5scs(x) \to 5scs(x)→5 然后规定一个函数 run(x,y)run(x,y)run(x,y) 会返回编号为 xxx 的函数在 yyy 点的值。
我瞪眼想出来了一个函数 f(x)=run(f(⌊x6⌋),xmod 6)f(x)=run(f(\lfloor\frac{x}{6}\rfloor),x\mod{6})f(x)=run(f(⌊6x⌋),xmod6)。如果 x=0x=0x=0,为了避免出现循环定义的情况,规定 f(x)=0f(x)=0f(x)=0。我的问题是,取 x=1,2,3,…x=1,2,3,\dotsx=1,2,3,… 代进去,这个函数有什么规律?