f(n)={2n+1​,24−n​,​n=2k+1n=2k​={k+1,2−k,​k∈N∪{0}k∈N​ at k=0,f(1)=1=f(2)=1⇒f is not one-one2−k covers all integers {1,0,−1,…}k+1 covers {1,2,3,…}⇒f(n) covers all integers ⇒f(n) is onto but not one-oneg(n)={3+2n,−2n,​n≥0n<0​Notice that 1∈/ range of g(x) as 3+2nî€ =1,n≥0 and −2nî€ =1,n<0⇒g(n) is not onto g(f(n))={3+2f(n),−2f(n),​f(n)≥0f(n)<0​={3+2(2n+1​),3+2(24−n​),​n=2k+1n=2k​={n+4,7−n,​n=2k+1n=2k​. g(f(n)) is always odd ⇒ not onto at g(f(1))=5=g(f(2))⇒0 not one-one f(g(n))={2g(n)+1​,24−g(n)​,​g(n) is odd naturalg(n) is even natural​={n+2,n+2,​n≥0n<0​⇒(n+2)∀n⇒f(g(n) is one-one