How Focused Are LLMs? A Quantitative Study via Repetitive Deterministic Prediction Tasks