Problem 1021: (2025 AIME II, 9)
There are $n$ values of $x$ in the interval $0<x<2\pi$ where $f(x)=\sin(7\pi\cdot\sin(5x))=0$. For $t$ of these $n$ values of $x$, the graph of $y=f(x)$ is tangent to the $x$-axis. Find $n+t$.
- $f(x)=0$ iff $\sin5x=\frac k7$ for an integer $-7\le k\le7$. On $0<x<2\pi$, $5x$ covers five periods.
- Each $k$ with $0<|k|<7$ gives $10$ solutions ($120$); $k=0$ gives $9$; $k=\pm7$ give $5$ each. So $n=139$.
- $f'(x)=35\pi\cos(7\pi\sin5x)\cos5x$, and at a zero $\cos(7\pi\sin5x)=\pm1$, so tangency needs $\cos5x=0$, i.e.\ $k=\pm7$, so $t=10$.
- $n+t=149$. The answer is $\boxed{149}$.
There are $n$ values of $x$ in the interval $0<x<2\pi$ where $f(x)=\sin(6\pi\cdot\sin(7x))=0$. For $t$ of these $n$ values of $x$, the graph of $y=f(x)$ is tangent to the $x$-axis. Find $n+t$.