Determine how many non-empty subsets of the numbers from $$$1$$$ to $$$n$$$ there are such that the least common multiple (LCM) of the numbers in the subset is a multiple of $$$k$$$.
The first line of input will consist of a single integer $$$t$$$ $$$(1 \le t \le 100)$$$ — the number of test cases.
Each of the next $$$t$$$ lines will consist of two integers $$$n$$$ and $$$k$$$ $$$(1 \le n,k \le 10^{18})$$$.
It is also guaranteed that all $$$n$$$ and $$$k$$$ can be factorized with primes smaller than $$$10^6$$$.
Since the output can be large, print it modulo $$$998244353$$$.
44 46 617 106 7
8441143040