Problem

Source: Iranian third round number theory P4

Tags: number theory, fermat's little theorem



$a,b,c,d,k,l$ are positive integers such that for every natural number $n$ the set of prime factors of $n^k+a^n+c,n^l+b^n+d$ are same. prove that $k=l,a=b,c=d$.