Given,
f(n)+n1f(n+1)=1,∀n∈1,2,3
⇒nf(n)+f(n+1)=n
At n=1,
f(1)+f(2)=1 ....(1)
At n=2,
2f(2)+f(3)=2 ....(2)
At n=3,
3f(3)+f(4)=3 ....(3)
Put the value of f(2) from equation (1) in equation (2),
2(1−f(1))+f(3)=2
⇒f(3)=2f(1) ....(4)
Put the value of f(3) from equation (4) in equation (3),
3(2f(1))+f(4)=3
⇒f(4)=3−6f(1)
∵f:1,2,3,4→a∈Z:∣a∣≤8
⇒−8≤f(4)≤8
⇒−8≤3−6f(1)≤8
⇒−11≤−6f(1)≤5
⇒6−5≤f(1)≤611
⇒f(1)=0,1
Case I: f(1)=0
⇒f(2)=1,f(3)=0,f(4)=3
Case II: f(1)=1
⇒f(2)=0,f(3)=2,f(4)=−3
Therefore, two such functions are possible.