Find the remainder when \((1^2+1)(2^2+1)(3^2+1)\dots(42^2+1)\) is divided by \(43\). Your answer should be an integer between \(0\) and \(42\).

Let's think step by step and output the final answer within \boxed{}.
user