when n is even 4^n + n^4 hamesa composite hi hoga yeh toh saf saf dikhtha hain..
so heres the proof when n is odd
let n= 2p+1 ( since n is odd)
now
4^n + n^4
=> (2n+n2)2 - 2(n+1)n2
put n = 2p+1
[2(2p+1) + (2p+1)2]2 - 2(2p+2)(2p+1)2
=> [2(2p+1) + (2p+1)2]2- [2(p+1)(2p+1)]2 , which comes in the form a2-b2 which can be written as (a+b)(a-b)
bas bangaya kaam.
when n is even 4^n + n^4 hamesa composite hi hoga yeh toh saf saf dikhtha hain..
so heres the proof when n is odd
let n= 2p+1 ( since n is odd)
now
4^n + n^4
=> (2n+n2)2 - 2(n+1)n2
put n = 2p+1
[2(2p+1) + (2p+1)2]2 - 2(2p+2)(2p+1)2
=> [2(2p+1) + (2p+1)2]2- [2(p+1)(2p+1)]2 , which comes in the form a2-b2 which can be written as (a+b)(a-b)
bas bangaya kaam.