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

image tell and deal puzzle Share It Thread Tools Search this Thread image
Old Apr1-09, 02:39 AM                  #1
K Sengupta

K Sengupta is Offline:
Posts: 89
tell and deal puzzle

p, q and r are three positive integers satisfying p< q< r, such that q is the arithmetic mean of p and r.

Determine all possible triplet(s) (p, q, r) that satisfy both the cryptarithmetic equations, where each of the capital letters denotes a different decimal digit from 0 to 9 and, none of T and D can be zero.

r4 – q4 = TELL, and:
q4 – p4 = DEAL.
  Reply With Quote
Old Apr1-09, 11:11 AM                  #2
davee123

davee123 is Offline:
Posts: 468
Re: tell and deal puzzle

I'm not sure if it qualifies as brute force or not-- there were only 19 different things I had to try:

Spoiler

I knew that 5 <= p < 15, so I started assuming that p=5, and worked up from there. Highest you can get with a 4 digit difference was p=12, which turned out to have the only answer:

12,13,14, TELL = 9855, DEAL = 7825


DaveE
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: tell and deal puzzle
Thread Thread Starter Forum Replies Last Post
how to deal with the j? dave1987 Calculus & Analysis 1 Aug21-08 07:47 AM
How big a deal is this? scorinaldi Academic Guidance 1 Oct23-07 03:44 AM
The "Deal or no Deal" dillemma Simon 6 Set Theory, Logic, Probability, Statistics 11 May16-07 03:02 AM
A deal? ziad1985 Politics & World Affairs 11 Feb28-07 05:52 PM
what's the deal with Lz? mattlorig Quantum Physics 2 Dec19-04 07:04 PM

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