n4−1Using fermats little theorem if p is prime and N is prime to p then Np−1−1 is divisible by p
Put n=5
⇒n5−1−1=n4−1 is divisible by 5.....(i)
n4−1=(n2−1)(n2+1)=(n−1)(n+1)(n2+1)
Again using fermats theorem
Put n=3
⇒n3−1−1=n2−1 is divisible by 3......(ii)
As n is prime greater than 5 so n is odd
⇒(n2+1) is even which is divisible by 2.....(iii)
Now (n−1)(n+1) is product of two even consecutive integers
So they will be of from 2n and 2n+2
⇒2n(2n+2)⇒4n(n+1)
as n is odd so (n+1) is a multiple of 2
⇒4n(n+1) is a mutiple of 8
⇒(n−1)(n+1) is a mutiple of 8.........(iv)
So by using (i),(ii),(iii) and (iv)
n4−1 is divisible by 5×3×8×2=240
Hence proved.