Codeforces Round 232 (Div. 1)
翻译中…
Let's assume that
翻译中…
$*v*(*n*)$is the largest prime number, that does not exceed$*n*$;$*u*(*n*)$is the smallest prime number strictly greater than$*n*$.
翻译中…
Find
.
翻译中…
Input
翻译中…
The first line contains integer $*t* (1 ≤ *t* ≤ 500)$ — the number of testscases.
翻译中…
Each of the following $*t*$ lines of the input contains integer $*n*$ ($2 ≤ *n* ≤ 10^{9}$).
翻译中…
Output
翻译中…
Print $*t*$ lines: the $*i*$-th of them must contain the answer to the $*i*$-th test as an irreducible fraction "$*p*$/$*q*$", where $*p*, *q*$ are integers, $*q* > 0$.
翻译中…
样例
Input #1
2
2
3
Output #1
1/6
7/30
InputCopy
OutputCopy
题目信息
标签
数学
数论
题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。