Arithmetic knots and links