Suppose that a pair (k,n) satisfies the condition of the problem. Since 7k−3n is even, k4+n2 is also even, hence k and n have the same parity. If k and n are odd, then k4+n2≡1+1=2(mod4), while 7k−3n≡7−3≡0(mod4), so k4+n2 cannot be divisible by 7k−3n. Hence, both k and n must be even.
Write k=2a, n=2b. Then 7k−3n=72a−32b=27a−3b⋅2(7a+3b), and both factors are integers. So 2(7a+3b)∣7k−3n and 7k−3n∣k4+n2=2(8a4+2b2), hence
7a+3b≤8a4+2b2.(1)
We prove by induction that 8a4<7a for a≥4, 2b2<3b for b≥1 and 2b2+9≤3b for b≥3. In the initial cases a=4, b=1, b=2 and b=3 we have 8⋅44=2048<74=2401, 2<3, 2⋅22=8<32=9 and 2⋅32+9=33=27, respectively.
If 8a4<7a (a≥4) and 2b2+9≤3b (b≥3), then
8(a+1)42(b+1)2+9=8a4(aa+1)4<7a(45)4=7a256625<7a+1 and <(2b2+9)(bb+1)2≤3b(34)2=3b916<3b+1,
as desired.
For a≥4 we obtain 7a+3b>8a4+2b2 and inequality (1) cannot hold. Hence a≤3, and three cases are possible.
Case 1: a=1. Then k=2 and 8+2b2≥7+3b, thus 2b2+1≥3b. This is possible only if b≤2. If b=1 then n=2 and 7k−3nk4+n2=72−3224+22=21, which is not an integer. If b=2 then n=4 and 7k−3nk4+n2=72−3424+42=−1, so (k,n)=(2,4) is a solution.
Case 2: a=2. Then k=4 and k4+n2=256+4b2≥∣74−3n∣=∣49−3b∣⋅(49+3b). The smallest value of the first factor is 22, attained at b=3, so 128+2b2≥11(49+3b), which is impossible since 3b>2b2.
Case 3: a=3. Then k=6 and k4+n2=1296+4b2≥∣76−3n∣=∣343−3b∣⋅(343+3b). Analogously, ∣343−3b∣≥100 and we have 324+b2≥25(343+3b), which is impossible again.
We find that there exists a unique solution (k,n)=(2,4).