Jump to content
BrainDen.com - Brain Teasers
  • 0

Nine digits => two numbers => largest product


Go to solution Solved by phil1882,

Question

11 answers to this question

Recommended Posts

  • 0
  • Solution

in general the largest number produced by multiplication is achieved when the two numbers are close together.

so we want a 4 digit and a 5 digit number.

a b c d e 

* f g h i

----------

 

the largest first digit occurs when a and f are 9 and 8. since we want them to be close, its better for a to be 8 and f to be 9.

the second largest digit will be 2 + 9*b +8*g. the largest value occurs when b is 7 and g is 6. 

this puts the max value at 8300000 aprox. the next largest digit is 7*6 +9*c +8*h. the max value occurs when h is 4 and c is 5.

you can continue. the final answer is: 9642 *87531.

  • Upvote 1
Link to post
Share on other sites
  • 0

Toying with a script to spit out the answers quickly, it seems this is the general pattern:

 

If the digits are dm..dn (contiguous) the answer looks like:

 

    d n dn-3dn-5.. . * dn-1dn-2dn-4...

 

regardless of m and n. This works regardless of whether there is an even or odd number of digits.

 

Nice!  post-1048-0-84137600-1395017309.gif

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...