I am trying to pass some time during the COVID-19 era. I was going through my mails and found a problem. A friend of mine said her daughter had this problem in some math contest about 2-3 years ago and if I could solve it.
So find all prime numbers that divide the polynomials $n^2 + 1$ and $( n + 3 )^2 + 1.$
Now I ran it through a python program and found that the answer is $n = 5$, and the prime number is 13 and this seems to be the only answer!
I have tried to look for an analytical solution but to be honest, got nowhere :( Any help would be appreciated, thank you. And stay safe.
$(n^2!+!1,n^2!+!6n!+!10)=(n^2!+!1,3(2n!+!3)) = $ $ (n^2!+!1,2n!+!3) = ((2n)^2!+!4,2n!+!3) = $ $ (13,2n!+!3) = (13,2(n!-!5))=(13,n!-!5).\ $ So $,p\mid 13,n-5,,$ so $,p = 13,, n = 5+13k.\ \ $
– Bill Dubuque May 24 '24 at 19:18