Sum of product of digits

Algebra Level 3

The product of the digits of each four-digit number is calculated. Find the sum of all the resulting products.


The answer is 4100625.

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.

2 solutions

Chew-Seong Cheong
Aug 13, 2018

The sum of products of digits of 4-digit positive integers is given by:

S = g = 1 9 h = 1 9 j = 1 9 k = 1 9 g h j k = g = 1 9 g h = 1 9 h j = 1 9 j k = 1 9 k = 4 5 4 = 4100625 \begin{aligned} S & = \sum_{g=1}^9 \sum_{h=1}^9 \sum_{j=1}^9 \sum_{k=1}^9 ghjk = \sum_{g=1}^9 g \sum_{h=1}^9 h \sum_{j=1}^9 j \sum_{k=1}^9 k = 45^4 = \boxed{4100625} \end{aligned}

Julian Yu
Aug 13, 2018

Consider the expression ( 1 + 2 + 3 + . . . + 9 ) ( 0 + 1 + 2 + 3 + . . . + 9 ) ( 0 + 1 + 2 + 3 + . . . + 9 ) ( 0 + 1 + 2 + 3 + . . . + 9 ) (1+2+3+...+9)(0+1+2+3+...+9)(0+1+2+3+...+9)(0+1+2+3+...+9) .

When expanded, it covers the product of every four digit number. Thus, our answer is ( 1 + 2 + 3 + . . . + 9 ) 4 = 4 5 4 = 4100625 (1+2+3+...+9)^4=45^4=4100625 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...