Is there any way in mathematics to test if a function evaluates to an integer? Or in a better case, retrieve only those function members $i$ and $k$ with whom the function evaluates to integer?
$$j = \dfrac{1}{6}\left(\dfrac{6k-1}{6i-1}-1\right). \qquad \text{for} \qquad i,k\in\mathbb{N}$$