Your idea matters-1

What is the sum of the positive divisors of 5040 5040 ?


The answer is 19344.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Since 5040 = 2 4 × 3 2 × 5 × 7 5040 = 2^{4} \times 3^{2} \times 5 \times 7 the sum of its divisors is ( 1 + 2 + 4 + 8 + 16 ) ( 1 + 3 + 9 ) ( 1 + 5 ) ( 1 + 7 ) = 31 × 13 × 6 × 8 = 19344 (1 + 2 + 4 + 8 + 16)(1 + 3 + 9)(1 + 5)(1 + 7) = 31 \times 13 \times 6 \times 8 = \boxed{19344} .

The question should specify that we are talking about positive divisors, or else the answer is 0.

Noe Blassel - 1 year, 8 months ago

The programming solution for this problem in Java:

public static void main(String[]args)

{

    int num = 5040;

    int sum = 0;

    int factor = 1;

    for (num = 5040;factor<=5040;)

    {

        if (num%factor==0)

        {

        sum+=factor;

    }

        factor++;

    }

    System.out.println(sum);

}
Arifin Ikram
Oct 7, 2019

We can write,

5040 = 2 4 × 3 2 × 5 × 7 5040=2^4×3^2×5×7

So the sum of 5040's divisors is, ( 2 0 + 2 1 + 2 2 + 2 3 + 2 4 ) ( 3 0 + 3 1 + 3 2 ) ( 5 0 + 5 1 ) ( 7 0 + 7 1 ) = ( 1 + 2 + 4 + 8 + 16 ) ( 1 + 3 + 9 ) ( 1 + 5 ) ( 1 + 7 ) = 31 × 13 × 6 × 8 = 19344 (2^0+2^1+2^2+2^3+2^4)(3^0+3^1+3^2)(5^0+5^1)(7^0+7^1)=(1+2+4+8+16)(1+3+9)(1+5)(1+7)=31×13×6×8=\boxed{19344}

Joshua Lowrance
Oct 7, 2019

5040 = 1 × 5040 = 2 × 2520 = 3 × 1680 = 4 × 1260 = 5 × 1008 = 6 × 840 = 7 × 720 = 8 × 630 = 9 × 560 = 10 × 504 = 12 × 420 = 14 × 360 = 15 × 336 = 16 × 315 = 18 × 280 = 20 × 252 = 21 × 240 = 24 × 210 = 28 × 180 = 30 × 168 = 35 × 144 = 36 × 140 = 40 × 126 = 42 × 120 = 45 × 112 = 48 × 105 = 56 × 90 = 60 × 84 = 63 × 80 = 70 × 72 5040=1\times5040=2\times2520=3\times1680=4\times1260=5\times1008=6\times840=7\times720=8\times630=9\times560=10\times504=12\times420=14\times360=15\times336=16\times315=18\times280=20\times252=21\times240=24\times210=28\times180=30\times168=35\times144=36\times140=40\times126=42\times120=45\times112=48\times105=56\times90=60\times84=63\times80=70\times72

1 + 5040 + 2 + 2520 + 3 + 1680 + 4 + 1260 + 5 + 1008 + 6 + 840 + 7 + 720 + 8 + 630 + 9 + 560 + 10 + 504 + 12 + 420 + 14 + 360 + 15 + 336 + 16 + 315 + 18 + 280 + 20 + 252 + 21 + 240 + 24 + 210 + 28 + 180 + 30 + 168 + 35 + 144 + 36 + 140 + 40 + 126 + 42 + 120 + 45 + 112 + 48 + 105 + 56 + 90 + 60 + 84 + 63 + 80 + 70 + 72 = 19344 1+5040+2+2520+3+1680+4+1260+5+1008+6+840+7+720+8+630+9+560+10+504+12+420+14+360+15+336+16+315+18+280+20+252+21+240+24+210+28+180+30+168+35+144+36+140+40+126+42+120+45+112+48+105+56+90+60+84+63+80+70+72=19344

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...