For a function f(x)=∫xπ4−xlog4(1+tant)dt (0≤x≤π8) f(x)={}\int_x^{\frac{\pi}{4}-{}x} \log_4 (1+{}\tan t)dt\ \left(0\leq x\leq \frac{\pi}{8}\right)f(x)=∫x4π−xlog4(1+tant)dt (0≤x≤8π) , answer the following questions.
(1) Find f′(x) f'(x)f′(x) .
(2) Find the n nn th term of the sequence an a_nan such that a1=f(0), an+1=f(an) (n=1, 2, 3, ⋯ ) a_1={}f(0),\ a_{n+{}1}={}f(a_n)\ (n={}1,\ 2,\ 3,\ \cdots) .