What Digits Solve the Cryptarithm (THINE)/(EVENLY) = 2/15?

  • Context: Undergrad 
  • Thread starter Thread starter K Sengupta
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around solving the cryptarithm (THINE)/(EVENLY) = 2/15, where each letter represents a different decimal digit from 0 to 9, with specific constraints on the digits. Participants explore methods for solving the puzzle, including brute force and potential logical deductions.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • Some participants describe using brute force programming to find solutions to the cryptarithm, expressing that this method may lack intellectual engagement.
  • It is noted that (THINE) must be divisible by 2, while (EVENLY) must be divisible by both 5 and 3, leading to constraints on the digits Y and E.
  • Participants discuss the maximum and minimum possible values for (THINE) and (EVENLY), which help in ruling out certain digit assignments, such as E being greater than 7 and T being 1.
  • There is a question about whether logical deductions can lead to a complete solution or merely reduce the computational time for brute force methods.
  • One participant mentions that while brute force is efficient for this problem, there are instances where clever mathematical tricks can significantly optimize the process.
  • Suggestions for exploring more challenging problems are provided, such as those found on Project Euler, which may require more sophisticated mathematical approaches.

Areas of Agreement / Disagreement

Participants express differing views on the effectiveness of logical deductions versus brute force methods, with no consensus on whether the problem can be solved entirely without brute force.

Contextual Notes

The discussion includes assumptions about digit constraints and divisibility rules, but does not resolve the overall effectiveness of different solving strategies.

K Sengupta
Messages
113
Reaction score
0
Solve this cryptarithm, where each of the letters represent a different decimal digit from 0 to 9. None of T and E is zero, and “EVENLY” is even.

(THINE)/(EVENLY) = 2/15
 
Mathematics news on Phys.org
83596/626970 = 2/15
This was found by brute force.
I have been finding these by writing and running a program that runs through all the possible values of the digits and prints out the ones that satisfy the defining equation. As such, they are not very interesting. Is there any method to these puzzles other than brute force that I am missing? In other words, is there any brain teasing going on here?
 
jimmysnyder said:
I have been finding these by writing and running a program that runs through all the possible values of the digits and prints out the ones that satisfy the defining equation. As such, they are not very interesting. Is there any method to these puzzles other than brute force that I am missing? In other words, is there any brain teasing going on here?

There's some-- for instance, we know that (THINE) must be divisible by 2, and that (EVENLY) must be divisible by both 5 and 3. Hence, Y must be 0 or 5, and E must be one of 0, 2, 4, 6, 8. Next, you can rule out 8 as a possibility for E, because the maximum value for (THINE) is 98764, which means (EVENLY) has a max of 740730, meaning that E cannot be greater than 7. Next, we can rule out T=1, because the minimum value of (EVENLY) is 101235, which would make (THINE) be 13498. Since E =/= T, T clearly can't be 1.

Anyway, you can plug away at these bit by bit in that fashion, but yeah, it's certainly easy to write a brute force program to do the job.

DaveE
 
davee123 said:
There's some-- for instance, we know that (THINE) must be divisible by 2, and that (EVENLY) must be divisible by both 5 and 3. Hence, Y must be 0 or 5, and E must be one of 0, 2, 4, 6, 8. Next, you can rule out 8 as a possibility for E, because the maximum value for (THINE) is 98764, which means (EVENLY) has a max of 740730, meaning that E cannot be greater than 7. Next, we can rule out T=1, because the minimum value of (EVENLY) is 101235, which would make (THINE) be 13498. Since E =/= T, T clearly can't be 1.

Anyway, you can plug away at these bit by bit in that fashion, but yeah, it's certainly easy to write a brute force program to do the job.

DaveE
Can such plugging away actually solve the problem or simply reduce the time (nearly zero) that the inevitable program takes to run?
 
jimmysnyder said:
Can such plugging away actually solve the problem or simply reduce the time (nearly zero) that the inevitable program takes to run?

I haven't tried this one all the way through, so I'm not sure if you can solve it totally with the given clues without brute force, but then again, sometimes you can do some clever tricks that are way beyond me. As for making the program run faster, yes. It isn't really necessary for these cases, since exploring all 3628800 possibilities is pretty quick for a computer. But sometimes it makes the difference between your program running for 2 seconds versus 2 weeks.

If you want some difficult brute force problems, try:
http://projecteuler.net/

They start out easy, but as you go on, you can use some elegant math to simplify the solutions and make your brute force algorithms manageable.

DaveE
 
Found by brute force:

Found solution 1: t=8 h=3 i=5 n=9 e=6 v=2 l=7 y=0
thine=83596 evenly=626970
thine*15=1253940, evenly*2=1253940
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
7
Views
9K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K