Proof by Cases [discrete mathematics] [closed] The Next CEO of Stack OverflowUsing proof by...

Why am I allowed to create multiple unique pointers from a single object?

Are there any limitations on attacking while grappling?

Why didn't Khan get resurrected in the Genesis Explosion?

How did the Bene Gesserit know how to make a Kwisatz Haderach?

Can I equip Skullclamp on a creature I am sacrificing?

How do we know the LHC results are robust?

Is it professional to write unrelated content in an almost-empty email?

Sending manuscript to multiple publishers

What's the best way to handle refactoring a big file?

How to start emacs in "nothing" mode (`fundamental-mode`)

Is 'diverse range' a pleonastic phrase?

What exact does MIB represent in SNMP? How is it different from OID?

Is micro rebar a better way to reinforce concrete than rebar?

Is there a difference between "Fahrstuhl" and "Aufzug"

What flight has the highest ratio of time difference to flight time?

Bold, vivid family

What benefits would be gained by using human laborers instead of drones in deep sea mining?

Are there any unintended negative consequences to allowing PCs to gain multiple levels at once in a short milestone-XP game?

What is "(CFMCC)" on an ILS approach chart?

Received an invoice from my ex-employer billing me for training; how to handle?

Real integral using residue theorem - why doesn't this work?

How to avoid supervisors with prejudiced views?

What is the result of assigning to std::vector<T>::begin()?

What can we do to stop prior company from asking us questions?



Proof by Cases [discrete mathematics] [closed]



The Next CEO of Stack OverflowUsing proof by cases — stuckHow to do this discrete mathematics problemProof by cases. Formulate a conjecture. I don't get it. Question inside.Discrete math combinatorial proofCircular definition in proofDiscrete Math Induction Proof Help With QuestionProof by Induction: Stuckalgebra and discrete mathematics proveProve by the Principle of RecursionProve that if $3mid(a^2+b^2)$,then $3mid a$ and $ 3mid b$












-1












$begingroup$


So I've come across this interesting proof question that I'm trying to solve but I'm rather confused about how to go about starting it. Any help would be greatly appreciated:




Prove that if $n$ is a positive integer, then $n^3+4n+2$ is not
divisible by 4. Hint: divide the proof into two cases.




Thank you!










share|cite|improve this question









$endgroup$



closed as off-topic by heropup, José Carlos Santos, mrtaurho, John Omielan, YiFan Mar 17 at 0:01


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – heropup, José Carlos Santos, mrtaurho, John Omielan, YiFan

If this question can be reworded to fit the rules in the help center, please edit the question.












  • 1




    $begingroup$
    Hint : First assume that $n$ is odd, then that $n$ is even.
    $endgroup$
    – Peter
    Mar 16 at 18:15
















-1












$begingroup$


So I've come across this interesting proof question that I'm trying to solve but I'm rather confused about how to go about starting it. Any help would be greatly appreciated:




Prove that if $n$ is a positive integer, then $n^3+4n+2$ is not
divisible by 4. Hint: divide the proof into two cases.




Thank you!










share|cite|improve this question









$endgroup$



closed as off-topic by heropup, José Carlos Santos, mrtaurho, John Omielan, YiFan Mar 17 at 0:01


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – heropup, José Carlos Santos, mrtaurho, John Omielan, YiFan

If this question can be reworded to fit the rules in the help center, please edit the question.












  • 1




    $begingroup$
    Hint : First assume that $n$ is odd, then that $n$ is even.
    $endgroup$
    – Peter
    Mar 16 at 18:15














-1












-1








-1





$begingroup$


So I've come across this interesting proof question that I'm trying to solve but I'm rather confused about how to go about starting it. Any help would be greatly appreciated:




Prove that if $n$ is a positive integer, then $n^3+4n+2$ is not
divisible by 4. Hint: divide the proof into two cases.




Thank you!










share|cite|improve this question









$endgroup$




So I've come across this interesting proof question that I'm trying to solve but I'm rather confused about how to go about starting it. Any help would be greatly appreciated:




Prove that if $n$ is a positive integer, then $n^3+4n+2$ is not
divisible by 4. Hint: divide the proof into two cases.




Thank you!







discrete-mathematics proof-writing proof-explanation






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Mar 16 at 18:13









Joe BidenJoe Biden

65




65




closed as off-topic by heropup, José Carlos Santos, mrtaurho, John Omielan, YiFan Mar 17 at 0:01


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – heropup, José Carlos Santos, mrtaurho, John Omielan, YiFan

If this question can be reworded to fit the rules in the help center, please edit the question.







closed as off-topic by heropup, José Carlos Santos, mrtaurho, John Omielan, YiFan Mar 17 at 0:01


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – heropup, José Carlos Santos, mrtaurho, John Omielan, YiFan

If this question can be reworded to fit the rules in the help center, please edit the question.








  • 1




    $begingroup$
    Hint : First assume that $n$ is odd, then that $n$ is even.
    $endgroup$
    – Peter
    Mar 16 at 18:15














  • 1




    $begingroup$
    Hint : First assume that $n$ is odd, then that $n$ is even.
    $endgroup$
    – Peter
    Mar 16 at 18:15








1




1




$begingroup$
Hint : First assume that $n$ is odd, then that $n$ is even.
$endgroup$
– Peter
Mar 16 at 18:15




$begingroup$
Hint : First assume that $n$ is odd, then that $n$ is even.
$endgroup$
– Peter
Mar 16 at 18:15










2 Answers
2






active

oldest

votes


















0












$begingroup$

Assume



1) $n$ is odd:



$n=2k+1, k=0,1,2,....$



$(2k+1)^3+4(2k+1)+2=$



$1+3(2k)+3(2k)^2 +(2k)^3+$



$8k+6=$



$[3(2k)^2+ (2k)^3]+7(2k+1)$;



The first term (in brackets) is divisible by $4$,



$7(2k+1)$ is not (why?).



Hence $f(n)$ is not divisible by $4$ for odd $n$.



2) Let $n$ be even, $n=2k$, k=1,2,... and complete the proof.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    egreg.Why delete your answer? Straightforward, nice.While mine is contorted.:)
    $endgroup$
    – Peter Szilas
    Mar 16 at 19:04



















1












$begingroup$

$$n^3+4n+2equiv n^3+2mod4$$When $n$ is odd, $n^3$ is odd and so is $n^3+2$. When $n$ is even, $2|nimplies 4|n^3implies n^3+2equiv2mod4$.






share|cite|improve this answer









$endgroup$




















    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0












    $begingroup$

    Assume



    1) $n$ is odd:



    $n=2k+1, k=0,1,2,....$



    $(2k+1)^3+4(2k+1)+2=$



    $1+3(2k)+3(2k)^2 +(2k)^3+$



    $8k+6=$



    $[3(2k)^2+ (2k)^3]+7(2k+1)$;



    The first term (in brackets) is divisible by $4$,



    $7(2k+1)$ is not (why?).



    Hence $f(n)$ is not divisible by $4$ for odd $n$.



    2) Let $n$ be even, $n=2k$, k=1,2,... and complete the proof.






    share|cite|improve this answer











    $endgroup$













    • $begingroup$
      egreg.Why delete your answer? Straightforward, nice.While mine is contorted.:)
      $endgroup$
      – Peter Szilas
      Mar 16 at 19:04
















    0












    $begingroup$

    Assume



    1) $n$ is odd:



    $n=2k+1, k=0,1,2,....$



    $(2k+1)^3+4(2k+1)+2=$



    $1+3(2k)+3(2k)^2 +(2k)^3+$



    $8k+6=$



    $[3(2k)^2+ (2k)^3]+7(2k+1)$;



    The first term (in brackets) is divisible by $4$,



    $7(2k+1)$ is not (why?).



    Hence $f(n)$ is not divisible by $4$ for odd $n$.



    2) Let $n$ be even, $n=2k$, k=1,2,... and complete the proof.






    share|cite|improve this answer











    $endgroup$













    • $begingroup$
      egreg.Why delete your answer? Straightforward, nice.While mine is contorted.:)
      $endgroup$
      – Peter Szilas
      Mar 16 at 19:04














    0












    0








    0





    $begingroup$

    Assume



    1) $n$ is odd:



    $n=2k+1, k=0,1,2,....$



    $(2k+1)^3+4(2k+1)+2=$



    $1+3(2k)+3(2k)^2 +(2k)^3+$



    $8k+6=$



    $[3(2k)^2+ (2k)^3]+7(2k+1)$;



    The first term (in brackets) is divisible by $4$,



    $7(2k+1)$ is not (why?).



    Hence $f(n)$ is not divisible by $4$ for odd $n$.



    2) Let $n$ be even, $n=2k$, k=1,2,... and complete the proof.






    share|cite|improve this answer











    $endgroup$



    Assume



    1) $n$ is odd:



    $n=2k+1, k=0,1,2,....$



    $(2k+1)^3+4(2k+1)+2=$



    $1+3(2k)+3(2k)^2 +(2k)^3+$



    $8k+6=$



    $[3(2k)^2+ (2k)^3]+7(2k+1)$;



    The first term (in brackets) is divisible by $4$,



    $7(2k+1)$ is not (why?).



    Hence $f(n)$ is not divisible by $4$ for odd $n$.



    2) Let $n$ be even, $n=2k$, k=1,2,... and complete the proof.







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited Mar 17 at 6:21

























    answered Mar 16 at 18:50









    Peter SzilasPeter Szilas

    11.6k2822




    11.6k2822












    • $begingroup$
      egreg.Why delete your answer? Straightforward, nice.While mine is contorted.:)
      $endgroup$
      – Peter Szilas
      Mar 16 at 19:04


















    • $begingroup$
      egreg.Why delete your answer? Straightforward, nice.While mine is contorted.:)
      $endgroup$
      – Peter Szilas
      Mar 16 at 19:04
















    $begingroup$
    egreg.Why delete your answer? Straightforward, nice.While mine is contorted.:)
    $endgroup$
    – Peter Szilas
    Mar 16 at 19:04




    $begingroup$
    egreg.Why delete your answer? Straightforward, nice.While mine is contorted.:)
    $endgroup$
    – Peter Szilas
    Mar 16 at 19:04











    1












    $begingroup$

    $$n^3+4n+2equiv n^3+2mod4$$When $n$ is odd, $n^3$ is odd and so is $n^3+2$. When $n$ is even, $2|nimplies 4|n^3implies n^3+2equiv2mod4$.






    share|cite|improve this answer









    $endgroup$


















      1












      $begingroup$

      $$n^3+4n+2equiv n^3+2mod4$$When $n$ is odd, $n^3$ is odd and so is $n^3+2$. When $n$ is even, $2|nimplies 4|n^3implies n^3+2equiv2mod4$.






      share|cite|improve this answer









      $endgroup$
















        1












        1








        1





        $begingroup$

        $$n^3+4n+2equiv n^3+2mod4$$When $n$ is odd, $n^3$ is odd and so is $n^3+2$. When $n$ is even, $2|nimplies 4|n^3implies n^3+2equiv2mod4$.






        share|cite|improve this answer









        $endgroup$



        $$n^3+4n+2equiv n^3+2mod4$$When $n$ is odd, $n^3$ is odd and so is $n^3+2$. When $n$ is even, $2|nimplies 4|n^3implies n^3+2equiv2mod4$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Mar 16 at 18:56









        Shubham JohriShubham Johri

        5,477818




        5,477818















            Popular posts from this blog

            Nidaros erkebispedøme

            Birsay

            Was Woodrow Wilson really a Liberal?Was World War I a war of liberals against authoritarians?Founding Fathers...