题目描述
Calculate the sum of the series :
INPUT:
First line contains the number of test cases t, for each test case a single line representing m and n with two space separated integers.
OUTPUT:
For each test case, a single line representing thee sum of the series in the form of p/q.
Constraints:
1 ≤ t ≤ 100
1 ≤ m, n ≤ 30
SAMPLE INPUT
1
2 3
SAMPLE OUTPUT
31/224
输入格式
见题面
输出格式
见题面
样例输入
1
2 3
SAMPLE
样例输出
31/224