Menu Close

Find-all-k-m-n-N-such-that-k-3-m-3-n-




Question Number 180695 by depressiveshrek last updated on 15/Nov/22
Find all k, m, n ∈ N such that  k!+3^m =3^n
Findallk,m,nNsuchthatk!+3m=3n
Answered by nikif99 last updated on 16/Nov/22
Trying an answer.  must be m<n and 3^n  mod 3=0 ⇒  (k!+3^m ) mod 3=0  if k≥7 ⇒[6!×7×...+3^m )] mod 3=0 ⇒  (3^m  mod 3=0) ∧ [(6!×7×...) mod 3]=0  2nd term is not valid ⇒  k∈{0..6}, so (k, m, n)=  (2, 0, 1), (3, 1, 2), (4, 1, 3), (6, 2, 6)
Tryingananswer.mustbem<nand3nmod3=0(k!+3m)mod3=0ifk7[6!×7×+3m)]mod3=0(3mmod3=0)[(6!×7×)mod3]=02ndtermisnotvalidk{0..6},so(k,m,n)=(2,0,1),(3,1,2),(4,1,3),(6,2,6)
Commented by Frix last updated on 16/Nov/22
but k!mod3=0 for k≥3 because obviously  with k≥3 we have k!=1×2×3×4×....=3N  do I get something wrong?
butk!mod3=0fork3becauseobviouslywithk3wehavek!=1×2×3×4×.=3NdoIgetsomethingwrong?
Commented by nikif99 last updated on 16/Nov/22
Yes, you are right. It needs more  examination.
Yes,youareright.Itneedsmoreexamination.

Leave a Reply

Your email address will not be published. Required fields are marked *