.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #17  
Old September 21st, 2004, 04:41 PM
Will's Avatar

Will Will is offline
Lieutenant Colonel
 
Join Date: Mar 2001
Location: Emeryville, CA
Posts: 1,412
Thanks: 0
Thanked 0 Times in 0 Posts
Will is on a distinguished road
Default Re: OT: Interesting math problem...

A more rigorous "proof", took me about five minutes before I went to class, posting it now after class:

Code:
 TRIED
+DRIVE
------
RIVET

Assuming we disregard the trivial solution (all zeros), and
force each letter to be distinct (ie for any x and y in
{T,R,I,E,D,V}, the values x != y), and noticing that the
carry can be at most 1 (9 + 9 + 1 = 19):

either E + V = E (V = 0)
or E + V + 1 = E (V = 9)
disregard V = 0 as uninteresting, so V = 9
and D + E > 10 and T < D, T < E
either I + I = V = 9
or I + I + 1 = V = 9
I + I != 9, so I + I + 1 = V is true
so I = {4,9}, but V = 9, so I = 4
so R + R = I = 4 (no carry from previous digit)
then R = {2,7}
V = 9, I = 4, R = {2,7}
either T + D = R = 2
or T + D + 1 = R = 7
assume there is no final carry
so if T + D = 2, then T = D = 1
then T + D + 1 = 7 = R
then T < (7 - D)
V = 9, I = 4, R = 7, T < (7 - D), T < E
try T = 1:
V = 9, I = 4, R = 7, T = 1, D = 5, E = 6

__________________
GEEK CODE V.3.12: GCS/E d-- s: a-- C++ US+ P+ L++ E--- W+++ N+ !o? K- w-- !O M++ V? PS+ PE Y+ PGP t- 5++ X R !tv-- b+++ DI++ D+ G+ e+++ h !r*-- y?
SE4 CODE: A-- Se+++* GdY $?/++ Fr! C++* Css Sf Ai Au- M+ MpN S Ss- RV Pw- Fq-- Nd Rp+ G- Mm++ Bb@ Tcp- L+
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:23 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.