Problem

Source: 2016 Latvia BW TST P16

Tags: greatest common divisor, GCD, number theory



What is the largest possible value of the expression $$gcd \,\,\, (n^2 + 3, (n + 1)^2 + 3 )$$for naturals $n$?

HIDE: Click to reveal hidden text original wording]Kāda ir izteiksmes LKD (n2 + 3, (n + 1)2 + 3) lielākā iespējamā vērtība naturāliem n?