4 11 1 0 11 1 1 11 1 3 11 1 5
Yes No No Yes * For $p=11, a=1, b=0$, a constant sequence $t = (0,0,0,0,\ldots)$ satisfies the conditions. * For $p=11, a=1, b=5$, a sequence $t = (0,5,6,0,5,6,\ldots)$ of period $3$ satisfies the conditions.
5 5 0 0 5 1 1 5 2 2 5 3 3 5 4 4
Yes No Yes Yes No
7 2 3 1 2 5 0 5 0 1 5 0 2 7 1 4 11 12345 5 13 12345 5
Yes Yes No Yes No No Yes
{
"problem": {
"name": "Tangent Addition Formula",
"description": {
"content": "You are given a prime number $p$ and non-negative integers $a$ and $b$. Determine if there is an infinite sequence of non-negative integers $t = \\bigl(t(0), t(1), t(2), \\ldots)$ that satisfies all of ",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 10000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "arc166_f"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a prime number $p$ and non-negative integers $a$ and $b$.\nDetermine if there is an infinite sequence of non-negative integers $t = \\bigl(t(0), t(1), t(2), \\ldots)$ that satisfies all of ...",
"is_translate": false,
"language": "English"
}
]
}