image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

image long division Share It Thread Tools Search this Thread image
Old Jul1-09, 03:07 AM                  #1
nypuzzle

nypuzzle is Offline:
Posts: 3
long division

Hi guys,
Can you help me with this problem, please?




...........H
.....______
EJS)HWNR
........CFJL
.....______
........CHW


where each letter is unique digit from 0 to 9

thank you!
  Reply With Quote
Old Jul1-09, 05:21 PM       Last edited by davee123; Jul1-09 at 05:36 PM.. Reason: formatting and added example            #2
davee123

davee123 is Offline:
Posts: 468
Re: long division

That was a pretty tricky one. Not too many clues that I could divine from the puzzle itself, so I had to completely brute-force the answer using a computer program. Were there any additional hints provided with the problem?

The other strange thing about it seems to be that the letters are pretty random. Typically, you'd have the letters A-J, or have them spell out words, like:

............I
....._____
ANT)ISLE
......HONK
......-----
........HIS

Or even spell out a word if arranged in ascending or descending order. But in this case, it seems they were just random-- as though there ought to be more to the puzzle.

DaveE
  Reply With Quote
Old Jul1-09, 05:44 PM                  #3
nypuzzle

nypuzzle is Offline:
Posts: 3
Re: long division

hey davee123

there was nothing more

how did you write code for that, I want to try on my own

thanks
  Reply With Quote
Old Jul1-09, 05:54 PM                  #4
davee123

davee123 is Offline:
Posts: 468
Re: long division

Originally Posted by nypuzzle View Post
how did you write code for that, I want to try on my own
I wrote a quick Perl script that went through all the possible combinations of 0-9. Effectively, it assigned a digit to each letter (my variable names were simply the letter names), and tested to see if that particular combination worked. Probably took less than 5 minutes or so to write the program, and maybe 20-30 seconds to run it.

I'd be interested to know if anyone here is able to use non-brute force on this problem. Otherwise, it's more like a programming challenge rather than a brain teaser or math problem.

DaveE
  Reply With Quote
Old Jul2-09, 04:06 AM                  #5
nypuzzle

nypuzzle is Offline:
Posts: 3
Re: long division

Originally Posted by nypuzzle View Post
...........H
.....______
EJS)HWNR
........CFJL
.....______
........CHW
ok, I have it!

...........7
....._____
934)7210
......6538
....._____
........672

but how can I get not by brute force..?
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: long division
Thread Thread Starter Forum Replies Last Post
Synthetic division or Long division of polynomials? streetmeat General Math 6 Jun18-08 08:19 AM
Long Division mirandasatterley General Math 2 Jan20-07 08:14 AM
Long division Natasha1 Calculus & Beyond 12 May25-06 03:41 PM
I forgot long division!!! OPTIDONN General Math 8 Jul17-05 04:13 PM
Need help with long division maverick99 General Math 7 Nov29-04 09:50 PM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image