Is $n^2+3n+6$ divisible by 25, where $n$ is a integer?$n^2 + 3n +5$ is not divisible by $121$Counting the amount of N digit numbers made from K digits divisible by X.Proof of $pi$+$e$ irrationalProve that $sqrt2 + 9n$ is never an integerHow to get a number that is divisible by $n$ - without obviously seeing it?Prove that if $n geq 2$, then $sqrt[n]n$ is irrational. Hint, show that if $n geq 2$, then $2^n > n$.F inding out possible remainders when dividing an integerFastest way to count divisors of number that are not divisible by one prime number.Finding $n$ such that atleast one permutation of the digits $1,2,ldots,n$ is divisible by $11$.Trying to prove that if $n^2=3q$, then $n=3p$ for $n,p,q inmathbbN$.Finding the last 4 digits of a huge power

Is it normal that my co-workers at a fitness company criticize my food choices?

An Accountant Seeks the Help of a Mathematician

Is it possible that AIC = BIC?

How could a scammer know the apps on my phone / iTunes account?

Why must traveling waves have the same amplitude to form a standing wave?

Does the statement `int val = (++i > ++j) ? ++i : ++j;` invoke undefined behavior?

Be in awe of my brilliance!

What options are left, if Britain cannot decide?

Making a sword in the stone, in a medieval world without magic

PTIJ: Who should pay for Uber rides: the child or the parent?

I need to drive a 7/16" nut but am unsure how to use the socket I bought for my screwdriver

Russian cases: A few examples, I'm really confused

Connecting top and bottom SMD component pads using via

Where is the 1/8 CR apprentice in Volo's Guide to Monsters?

2D counterpart of std::array in C++17

Humanity loses the vast majority of its technology, information, and population in the year 2122. How long does it take to rebuild itself?

Is a lawful good "antagonist" effective?

Did CPM support custom hardware using device drivers?

What are the possible solutions of the given equation?

Ban on all campaign finance?

Sword in the Stone story where the sword was held in place by electromagnets

It's a yearly task, alright

How do anti-virus programs start at Windows boot?

Good allowance savings plan?



Is $n^2+3n+6$ divisible by 25, where $n$ is a integer?


$n^2 + 3n +5$ is not divisible by $121$Counting the amount of N digit numbers made from K digits divisible by X.Proof of $pi$+$e$ irrationalProve that $sqrt2 + 9n$ is never an integerHow to get a number that is divisible by $n$ - without obviously seeing it?Prove that if $n geq 2$, then $sqrt[n]n$ is irrational. Hint, show that if $n geq 2$, then $2^n > n$.F inding out possible remainders when dividing an integerFastest way to count divisors of number that are not divisible by one prime number.Finding $n$ such that atleast one permutation of the digits $1,2,ldots,n$ is divisible by $11$.Trying to prove that if $n^2=3q$, then $n=3p$ for $n,p,q inmathbbN$.Finding the last 4 digits of a huge power













1












$begingroup$


If we want $n^2+3n+6$ to be divisible by $25$, it firstly has to be divisible by $5$.
So, let's take a look at couple of cases:
$n=5k: 25k^2+15k+6$. The remainder is $6$, so it's not divisible by $25$.



$n=5k+1: 25k^2+25k+10$. The remainder is $10$, so it is not divisible by $25$.



And so on for $n=5k+2, n=5k+3, n=5k+4.$



  1. Is this a good way to do this?

The other way that came to my mind would be following:



Let's say that $n^2+3n+6$ is divisible by $25$: $$n^2+3n+6=25k$$
$$n^2+3n+(6-25k)=0$$
If we solve this equation, we get $$n_1,2=frac-3 pm sqrt5 sqrt20k-32.$$ But $sqrt5$ is a irrational number, so is $n$ irrational number too. This is contradiction, so it's not divisible by $25$.



  1. Is this a good way to solve this problem?









share|cite|improve this question











$endgroup$







  • 3




    $begingroup$
    Your second method needs to consider $sqrt20k-3$ too as that might balance the $sqrt5$ and make the overall result rational - in fact it does not, but you have not shown it does not
    $endgroup$
    – Henry
    Mar 11 at 9:58















1












$begingroup$


If we want $n^2+3n+6$ to be divisible by $25$, it firstly has to be divisible by $5$.
So, let's take a look at couple of cases:
$n=5k: 25k^2+15k+6$. The remainder is $6$, so it's not divisible by $25$.



$n=5k+1: 25k^2+25k+10$. The remainder is $10$, so it is not divisible by $25$.



And so on for $n=5k+2, n=5k+3, n=5k+4.$



  1. Is this a good way to do this?

The other way that came to my mind would be following:



Let's say that $n^2+3n+6$ is divisible by $25$: $$n^2+3n+6=25k$$
$$n^2+3n+(6-25k)=0$$
If we solve this equation, we get $$n_1,2=frac-3 pm sqrt5 sqrt20k-32.$$ But $sqrt5$ is a irrational number, so is $n$ irrational number too. This is contradiction, so it's not divisible by $25$.



  1. Is this a good way to solve this problem?









share|cite|improve this question











$endgroup$







  • 3




    $begingroup$
    Your second method needs to consider $sqrt20k-3$ too as that might balance the $sqrt5$ and make the overall result rational - in fact it does not, but you have not shown it does not
    $endgroup$
    – Henry
    Mar 11 at 9:58













1












1








1





$begingroup$


If we want $n^2+3n+6$ to be divisible by $25$, it firstly has to be divisible by $5$.
So, let's take a look at couple of cases:
$n=5k: 25k^2+15k+6$. The remainder is $6$, so it's not divisible by $25$.



$n=5k+1: 25k^2+25k+10$. The remainder is $10$, so it is not divisible by $25$.



And so on for $n=5k+2, n=5k+3, n=5k+4.$



  1. Is this a good way to do this?

The other way that came to my mind would be following:



Let's say that $n^2+3n+6$ is divisible by $25$: $$n^2+3n+6=25k$$
$$n^2+3n+(6-25k)=0$$
If we solve this equation, we get $$n_1,2=frac-3 pm sqrt5 sqrt20k-32.$$ But $sqrt5$ is a irrational number, so is $n$ irrational number too. This is contradiction, so it's not divisible by $25$.



  1. Is this a good way to solve this problem?









share|cite|improve this question











$endgroup$




If we want $n^2+3n+6$ to be divisible by $25$, it firstly has to be divisible by $5$.
So, let's take a look at couple of cases:
$n=5k: 25k^2+15k+6$. The remainder is $6$, so it's not divisible by $25$.



$n=5k+1: 25k^2+25k+10$. The remainder is $10$, so it is not divisible by $25$.



And so on for $n=5k+2, n=5k+3, n=5k+4.$



  1. Is this a good way to do this?

The other way that came to my mind would be following:



Let's say that $n^2+3n+6$ is divisible by $25$: $$n^2+3n+6=25k$$
$$n^2+3n+(6-25k)=0$$
If we solve this equation, we get $$n_1,2=frac-3 pm sqrt5 sqrt20k-32.$$ But $sqrt5$ is a irrational number, so is $n$ irrational number too. This is contradiction, so it's not divisible by $25$.



  1. Is this a good way to solve this problem?






number-theory elementary-number-theory divisibility






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 11 at 10:21









Gurjinder

554417




554417










asked Mar 11 at 9:53







user389231














  • 3




    $begingroup$
    Your second method needs to consider $sqrt20k-3$ too as that might balance the $sqrt5$ and make the overall result rational - in fact it does not, but you have not shown it does not
    $endgroup$
    – Henry
    Mar 11 at 9:58












  • 3




    $begingroup$
    Your second method needs to consider $sqrt20k-3$ too as that might balance the $sqrt5$ and make the overall result rational - in fact it does not, but you have not shown it does not
    $endgroup$
    – Henry
    Mar 11 at 9:58







3




3




$begingroup$
Your second method needs to consider $sqrt20k-3$ too as that might balance the $sqrt5$ and make the overall result rational - in fact it does not, but you have not shown it does not
$endgroup$
– Henry
Mar 11 at 9:58




$begingroup$
Your second method needs to consider $sqrt20k-3$ too as that might balance the $sqrt5$ and make the overall result rational - in fact it does not, but you have not shown it does not
$endgroup$
– Henry
Mar 11 at 9:58










2 Answers
2






active

oldest

votes


















2












$begingroup$

If $25$ divides $n^2+3n+6,$ the later will be divisible by $5$



$n^2+3n+6equiv n^2-2n+1pmod5$



So, we need $nequiv1pmod5implies n=1+5m$



$(5m+1)^2+3(5m+1)+6=25m^2+25m+10notequiv0pmod25$






share|cite|improve this answer











$endgroup$












  • $begingroup$
    @Dietrich, extra dot
    $endgroup$
    – lab bhattacharjee
    Mar 11 at 13:13


















1












$begingroup$

Hint: We have
$$
n^2+3n+6=(n+4)^2 bmod 5
$$



Now look at Bill's answer at this duplicate:



$n^2 + 3n +5$ is not divisible by $121$






share|cite|improve this answer









$endgroup$












    Your Answer





    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("mathjaxEditing", function ()
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    );
    );
    , "mathjax-editing");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "69"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3143492%2fis-n23n6-divisible-by-25-where-n-is-a-integer%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown
























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2












    $begingroup$

    If $25$ divides $n^2+3n+6,$ the later will be divisible by $5$



    $n^2+3n+6equiv n^2-2n+1pmod5$



    So, we need $nequiv1pmod5implies n=1+5m$



    $(5m+1)^2+3(5m+1)+6=25m^2+25m+10notequiv0pmod25$






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      @Dietrich, extra dot
      $endgroup$
      – lab bhattacharjee
      Mar 11 at 13:13















    2












    $begingroup$

    If $25$ divides $n^2+3n+6,$ the later will be divisible by $5$



    $n^2+3n+6equiv n^2-2n+1pmod5$



    So, we need $nequiv1pmod5implies n=1+5m$



    $(5m+1)^2+3(5m+1)+6=25m^2+25m+10notequiv0pmod25$






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      @Dietrich, extra dot
      $endgroup$
      – lab bhattacharjee
      Mar 11 at 13:13













    2












    2








    2





    $begingroup$

    If $25$ divides $n^2+3n+6,$ the later will be divisible by $5$



    $n^2+3n+6equiv n^2-2n+1pmod5$



    So, we need $nequiv1pmod5implies n=1+5m$



    $(5m+1)^2+3(5m+1)+6=25m^2+25m+10notequiv0pmod25$






    share|cite|improve this answer











    $endgroup$



    If $25$ divides $n^2+3n+6,$ the later will be divisible by $5$



    $n^2+3n+6equiv n^2-2n+1pmod5$



    So, we need $nequiv1pmod5implies n=1+5m$



    $(5m+1)^2+3(5m+1)+6=25m^2+25m+10notequiv0pmod25$







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited Mar 11 at 13:13

























    answered Mar 11 at 10:08









    lab bhattacharjeelab bhattacharjee

    226k15158275




    226k15158275











    • $begingroup$
      @Dietrich, extra dot
      $endgroup$
      – lab bhattacharjee
      Mar 11 at 13:13
















    • $begingroup$
      @Dietrich, extra dot
      $endgroup$
      – lab bhattacharjee
      Mar 11 at 13:13















    $begingroup$
    @Dietrich, extra dot
    $endgroup$
    – lab bhattacharjee
    Mar 11 at 13:13




    $begingroup$
    @Dietrich, extra dot
    $endgroup$
    – lab bhattacharjee
    Mar 11 at 13:13











    1












    $begingroup$

    Hint: We have
    $$
    n^2+3n+6=(n+4)^2 bmod 5
    $$



    Now look at Bill's answer at this duplicate:



    $n^2 + 3n +5$ is not divisible by $121$






    share|cite|improve this answer









    $endgroup$

















      1












      $begingroup$

      Hint: We have
      $$
      n^2+3n+6=(n+4)^2 bmod 5
      $$



      Now look at Bill's answer at this duplicate:



      $n^2 + 3n +5$ is not divisible by $121$






      share|cite|improve this answer









      $endgroup$















        1












        1








        1





        $begingroup$

        Hint: We have
        $$
        n^2+3n+6=(n+4)^2 bmod 5
        $$



        Now look at Bill's answer at this duplicate:



        $n^2 + 3n +5$ is not divisible by $121$






        share|cite|improve this answer









        $endgroup$



        Hint: We have
        $$
        n^2+3n+6=(n+4)^2 bmod 5
        $$



        Now look at Bill's answer at this duplicate:



        $n^2 + 3n +5$ is not divisible by $121$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Mar 11 at 10:05









        Dietrich BurdeDietrich Burde

        80.6k647104




        80.6k647104



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3143492%2fis-n23n6-divisible-by-25-where-n-is-a-integer%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Lowndes Grove History Architecture References Navigation menu32°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661132°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661178002500"National Register Information System"Historic houses of South Carolina"Lowndes Grove""+32° 48' 6.00", −79° 57' 58.00""Lowndes Grove, Charleston County (260 St. Margaret St., Charleston)""Lowndes Grove"The Charleston ExpositionIt Happened in South Carolina"Lowndes Grove (House), Saint Margaret Street & Sixth Avenue, Charleston, Charleston County, SC(Photographs)"Plantations of the Carolina Low Countrye

            random experiment with two different functions on unit interval Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Random variable and probability space notionsRandom Walk with EdgesFinding functions where the increase over a random interval is Poisson distributedNumber of days until dayCan an observed event in fact be of zero probability?Unit random processmodels of coins and uniform distributionHow to get the number of successes given $n$ trials , probability $P$ and a random variable $X$Absorbing Markov chain in a computer. Is “almost every” turned into always convergence in computer executions?Stopped random walk is not uniformly integrable

            How should I support this large drywall patch? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I cover large gaps in drywall?How do I keep drywall around a patch from crumbling?Can I glue a second layer of drywall?How to patch long strip on drywall?Large drywall patch: how to avoid bulging seams?Drywall Mesh Patch vs. Bulge? To remove or not to remove?How to fix this drywall job?Prep drywall before backsplashWhat's the best way to fix this horrible drywall patch job?Drywall patching using 3M Patch Plus Primer