Challenge Questions Blog

Challenge Questions

Stop in and exercise your brain. Talk about this month's Challenge from Specs & Techs or similar puzzles.

So do you have a Challenge Question that could stump the community? Then submit the question with the "correct" answer and we'll post it. If it's really good, we may even roll it up to Specs & Techs. You'll be famous!

Answers to Challenge Questions appear by the last Tuesday of the month.

Previous in Blog: Marathon Runner: Newsletter Challenge (11/02/10)   Next in Blog: Calculating Machine: Newsletter Challenge (01/04/11)
Close
Close
Close
76 comments
Rate Comments: Nested

The Remainder: Newsletter Challenge (12/07/10)

Posted December 05, 2010 5:01 PM

This month's Challenge Question:

When 9638, 2591, and 8739 are divided by a certain integer, the remainder is the same for each. What is the integer used as the divisor?

And the Answer is...

Let X be the divisor and Y the remainder. When these three numbers are divided by X all produce the same remainder Y. In general this operation can be stated by mean of the following equation

N/X = a + Y/X

Or

N = aX + Y

Where N is any number, and a is the quotient.

Now, let's apply this equation to the three numbers,

9638 = aX + Y

8739 = bX + Y

2591 = cX + Y

Subtract the first two and the last two equations, and factorize the results, to get

X(a – b) = 899 = (29)*(31)
X(b – c) = 6148 = (4)*(29)*(53)

From the above results we see that the common factor is 29, but looking at the left-hand side of these two equations we see that the common factor is precisely X. Then

X = 29

Dividing the three given numbers by 29, we get

9638/29 = 332.3448275862 = 332 + 10/29
8739/29 = 301.3448275862 = 301 + 10/29
2591/29 = 89.3448275862 = 89 + 10/29

Then, the divisor is 29 and the remainder is 10.

Reply

Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
Engineering Fields - Optical Engineering - Member Engineering Fields - Engineering Physics - Member Engineering Fields - Systems Engineering - Member

Join Date: Apr 2010
Location: Trantor
Posts: 5363
Good Answers: 647
#1

Re: The Remainder: Newsletter Challenge (12/07/10)

12/05/2010 8:49 PM

I know the answer, but if I give the answer, no one else will have a chance to try. (Hint: it's a prime number between 20 and 40.) The remainder is .34482759...

__________________
Whiskey, women -- and astrophysics. Because sometimes a problem can't be solved with just whiskey and women.
Reply Score 1 for Good Answer
Member

Join Date: May 2010
Posts: 5
#17
In reply to #1

Re: The Remainder: Newsletter Challenge (12/07/10)

12/07/2010 9:38 AM

Well since there are only 4 primes between 20 and 40 that's a pretty strong hint.

Reply
Associate

Join Date: Jul 2008
Location: Red River Valley
Posts: 35
Good Answers: 1
#2

Re: The Remainder: Newsletter Challenge (12/07/10)

12/05/2010 9:21 PM

I agree with #1, however there are two answers - the obvious one is 1

since MOD 1 of any number is 0......................

Reply
Guru
Engineering Fields - Optical Engineering - Member Engineering Fields - Engineering Physics - Member Engineering Fields - Systems Engineering - Member

Join Date: Apr 2010
Location: Trantor
Posts: 5363
Good Answers: 647
#4
In reply to #2

Re: The Remainder: Newsletter Challenge (12/07/10)

12/06/2010 9:29 AM

Each of the numbers 9638, 2591, and 8739 is a multiple of the 'mystery divisor' (call it X) plus 10. So the remainder is 10/X.

If you take the inverse of the remainder 1/.34482759 you get 1/10th of the 'mystery divisor' X (or very close, considering there is some rounding-off error).

But if you take the inverse of the remainder for the trivial solution "1" -- i.e., if you take the inverse of 0 -- you get 'infinity'. Which doesn't really tell you anything about what your divisor actually was.

So yes, 1 is a trivial solution, but trivial solutions usually aren't very interesting.

__________________
Whiskey, women -- and astrophysics. Because sometimes a problem can't be solved with just whiskey and women.
Reply
Associate

Join Date: Jul 2008
Location: Red River Valley
Posts: 35
Good Answers: 1
#5
In reply to #4

Re: The Remainder: Newsletter Challenge (12/07/10)

12/06/2010 2:33 PM

I propose that one of the solutions to this puzzle stated in #2 is a fully valid

answer. Long division of the quotients by the (answer) leaves a remainder of 10

in each case. Long division of the quotients by one also results in remainders

of 0, which is an integer, in each case. Qed: the answer ONE (1) is as fully valid as

the second answer, which should be apparent from the second Hint : (10/r= answer)

Reply
Guru
Popular Science - Cosmology - New Member Engineering Fields - Civil Engineering - New Member Engineering Fields - Nuclear Engineering - New Member United States - Member - New Member

Join Date: Aug 2010
Posts: 714
Good Answers: 38
#6
In reply to #5

Re: The Remainder: Newsletter Challenge (12/07/10)

12/06/2010 2:44 PM

IMO USB's point wasn't that you didn't have a VALID solution... only that said solution was trivial.

__________________
Sometimes my thoughts are in a degree of order so high even I don't get it...
Reply
Guru
Technical Fields - Technical Writing - New Member Engineering Fields - Piping Design Engineering - New Member

Join Date: May 2009
Location: Richland, WA, USA
Posts: 21017
Good Answers: 795
#3

Re: The Remainder: Newsletter Challenge (12/07/10)

12/06/2010 4:24 AM

Three makes it unanimous....

__________________
In vino veritas; in cervisia carmen; in aqua E. coli.
Reply
Guru

Join Date: Jul 2007
Location: Minnesota
Posts: 529
Good Answers: 15
#7

Re: The Remainder: Newsletter Challenge (12/07/10)

12/06/2010 3:36 PM

29 is the answer

__________________
downhill slide to 112 (damn memor.)
Reply
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#16
In reply to #7

Re: The Remainder: Newsletter Challenge (12/07/10)

12/07/2010 4:56 AM

Easier still

__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Reply
Anonymous Poster
#28
In reply to #7

Re: The Remainder: Newsletter Challenge (12/07/10)

12/11/2010 6:45 AM

trial and error proved that

963829332 1/325912989 1/3873929301 1/3
Reply Score 1 for Off Topic
Guru
Engineering Fields - Instrumentation Engineering - New Member

Join Date: Dec 2009
Location: San Antonio, TX USA
Posts: 844
Good Answers: 29
#8

Re: The Remainder: Newsletter Challenge (12/07/10)

12/06/2010 3:42 PM

Mathematics + Semantics = Politics.

__________________
"Do not worry about your difficulties in Mathematics. I can assure you mine are still greater". - Albert Einstein
Reply Score 1 for Off Topic
Guru

Join Date: Aug 2009
Location: Glen Mills, PA.
Posts: 2385
Good Answers: 114
#9

Re: The Remainder: Newsletter Challenge (12/07/10)

12/06/2010 8:15 PM

I don't know how that got a GA, it is a "brute force" solution.

__________________
In a time of universal deceit, telling the truth is a revolutionary act. George Orwell
Reply
Anonymous Poster
#10

Re: The Remainder: Newsletter Challenge (12/07/10)

12/06/2010 11:09 PM

FOR i = 1 TO 2591
a = (9638 / i)
a = a - FIX(a)
a = FIX(a * i)
b = (2591 / i)
b = b - FIX(b)
b = FIX(b * i)
c = (8739 / i)
c = c - FIX(c)
c = FIX(c * i)
IF a = b AND b = c THEN PRINT a, b, c, i
NEXT

The answer is Jack Benny's age minus 10.

Reply
3
Guru
Technical Fields - Technical Writing - New Member Engineering Fields - Piping Design Engineering - New Member

Join Date: May 2009
Location: Richland, WA, USA
Posts: 21017
Good Answers: 795
#11

Re: The Remainder: Newsletter Challenge (12/07/10)

12/06/2010 11:43 PM

Since the remainders are all the same, the mystery divisor divides evenly into each pair of differences, in particular into 9638 - 8739 = 899. Hmm, close to 900 = 302, so it easy to spot that 899 = 29 x 31, a unique prime factorization. Try each as the mystery divisor; with 29 the remainder is 10 in each case.

__________________
In vino veritas; in cervisia carmen; in aqua E. coli.
Reply Good Answer (Score 3)
Active Contributor

Join Date: Apr 2009
Posts: 11
#12

Re: The Remainder: Newsletter Challenge (12/07/10)

12/07/2010 2:48 AM

divider 29

remainder 10

Reply
3
Associate

Join Date: Jul 2010
Location: Witbank South Africa
Posts: 44
Good Answers: 2
#13

Re: The Remainder: Newsletter Challenge (12/07/10)

12/07/2010 4:03 AM

The three numbers can be expressed as follows 9638/x = y*x + r (1) 2591/x = m*x + r (2) 8739/x = p*x + r (3) Where x is the common divisor and r is the common remainder. Eliminating r between eqn 1 and 2 yields (9638 - 2591)/x = x(y-m) (4) between 1 and 3 yields (9638 - 8739)/x = x(y-p) (5) between 2 and 3 yields (8739 -2591)/x = x(p-m) (6) From the equations (4 - 6) it cam be seen that x is a common factor of the differences which are 7047 factors, 3, 9, 29 899 factors, 29 and 31 6148 factors 2, 4, 29, and 53 Hence the answer is 29 which is a common factor of all the differences. Solved

__________________
If you can't cross the river, use the water to irrigate your side, the grass will soon be greener
Reply Good Answer (Score 3)
Guru

Join Date: Feb 2010
Posts: 1013
Good Answers: 36
#14
In reply to #13

Re: The Remainder: Newsletter Challenge (12/07/10)

12/07/2010 4:27 AM

GA from me.

Reply
Commentator

Join Date: Apr 2007
Location: South Africa Pretoria
Posts: 59
Good Answers: 4
#15

Re: The Remainder: Newsletter Challenge (12/07/10)

12/07/2010 4:48 AM

Let == suffice for congruent

Then we have 9638 == x mod y

2591 == x mod y

8739 == x mod y

So (9638-2591)=7047 == 0 mod y Prime factors of 7047 is 3,3,3,3,3,29

Also (9638-8739)=899==0 mod y Prime factors for 899 is 29,31

So the only common factor is 29 and 29 is therefore the dividor

Reply
Participant

Join Date: Dec 2010
Posts: 1
#18

Re: The Remainder: Newsletter Challenge (12/07/10)

12/07/2010 9:47 AM

The answer is simple. When the integer is 1, all the remainders are all zero.

Reply Score 1 for Good Answer
Power-User

Join Date: Feb 2009
Location: Constantia, NY way out in the middle of what's left of the open range
Posts: 126
#29
In reply to #18

Re: The Remainder: Newsletter Challenge (12/07/10)

12/11/2010 10:04 AM

Hey Guys and Gals,

I've been well under the weather for the past few months and have not kept up with the rest of you. Mia culpa.

Good grief, Charlie Brown, what have I missed?

Anyway, this morning I decided to look at the latest challange question and immediately my high school Math teacher, Larry Smith, came to mind. His solution to any problem was to go for the simplest answer. Like PrinEngr in answer #18, I came up with one as the logical answer for the reason PrinEngr states, when any number is divided by one, the remainder is always zero. Hence, a very simple answer to an otherwise convoluted process. Kudos to PrinEngr for thinking outside the box!

At least I was not alone in my reasoning!

Kenneth Leigh and I am far from a rocket scientist. Just a simple, backwoods lawyer.

__________________
Ken
Reply
Anonymous Poster
#19

Re: The Remainder: Newsletter Challenge (12/07/10)

12/07/2010 9:55 AM
963825918739
332.344827689.3448276301.3448276

The numbers divided by 29!

Reply
Anonymous Poster
#20

Re: The Remainder: Newsletter Challenge (12/07/10)

12/07/2010 11:47 AM

Apparently there are a lot of us who used a spreadsheet to figure it out. What does this say about the state of mathematical reasoning today? At least my spreadsheet was elegant.

Reply
Anonymous Poster
#21

Re: The Remainder: Newsletter Challenge (12/07/10)

12/07/2010 11:59 AM

I don't know if it is the easiest way to do it, but I formulated 3 equations:

9638/x = c1 +y

2591/x = c2 + y

8739/x = c3 + y

You can subtract second from first, second from third, and third from first to get 3 new equations without y:

7047/x = c1 - c2

6148/x = c3 - c2

899/x = c1 -c3

The answer is the LCD of 7047,6148, and 899, which by brute force factoring into primes, is 29.

So, 29 is my answer.

-ebolton

Reply
Power-User

Join Date: Feb 2008
Location: Washington State
Posts: 172
Good Answers: 31
#22

Re: The Remainder: Newsletter Challenge (12/07/10)

12/07/2010 1:17 PM

Let 9638 = M*A + R and 8739 = M*B + R, where M is the integer by which we are dividing and R is the remainder which we want to be the same for both divisions. Subtracting one equation from the other, we get 899 = M*(A-B). M, A, and B are all integers so M must be a factor of 899 which has factors 29 and 31. M, the divisor, must be 29 or 31. The remainders for M=31 are 28, 18, and 28 and for M=29, the remainders are all 10.

Thanks,

Jim

Reply Score 1 for Good Answer
Power-User

Join Date: Feb 2008
Location: Washington State
Posts: 172
Good Answers: 31
#23

Re: The Remainder: Newsletter Challenge (12/07/10)

12/07/2010 2:03 PM

Let 9638 = M*A + R and 8739 = M*B + R, where M is the integer by which we are dividing and R is the remainder which we want to be the same for both divisions. Subtracting one equation from the other, we get 899 = M*(A-B). M, A, and B are all integers so M must be a factor of 899 which has factors 29 and 31. M, the divisor, must be 29 or 31. The remainders for M=31 are 28, 18, and 28 and for M=29, the remainders are all 10.

Thanks,

Jim

Reply
4
Participant

Join Date: Dec 2010
Location: Sydney, Australia
Posts: 2
Good Answers: 1
#24

Re: The Remainder: Newsletter Challenge (12/07/10)

12/07/2010 6:40 PM

As negative numbers are integers I would suggest there is at least 4 answers. -29, -1, 1 and 29.

Reply Good Answer (Score 4)
Guru
Engineering Fields - Optical Engineering - Member Engineering Fields - Engineering Physics - Member Engineering Fields - Systems Engineering - Member

Join Date: Apr 2010
Location: Trantor
Posts: 5363
Good Answers: 647
#25
In reply to #24

Re: The Remainder: Newsletter Challenge (12/07/10)

12/07/2010 10:28 PM

Very good answer -- I completely forgot to consider negative numbers in my post.

__________________
Whiskey, women -- and astrophysics. Because sometimes a problem can't be solved with just whiskey and women.
Reply
Guru

Join Date: Mar 2009
Posts: 507
#26

Re: The Remainder: Newsletter Challenge (12/07/10)

12/10/2010 12:12 AM

the question is:

(9638-r)/n=a

(2591-r)/n=b

(8739-r)/n=c

or

9638-2591=7047=n(a-b)

9638-8739=899=n(a-c)

2591-8739=-6148=n(b-c)

all integer factors of 899 are: 1, 29, 31

only 2 of these integer numbers are factors of the other 2 equations: 1 and 29

if the solution 1 is to simple (trivial) there is only the integer 29 as used divisor

Reply
Guru

Join Date: Mar 2009
Posts: 507
#30
In reply to #26

Re: The Remainder: Newsletter Challenge (12/07/10)

12/14/2010 1:46 PM

all integer factors of 899 are: 1, 29, 31

and the fourth integer factor is 899 (trivial, trivialer, trivialst)

Reply
Commentator

Join Date: Dec 2009
Location: Coffeyville, KS
Posts: 59
#27

Re: The Remainder: Newsletter Challenge (12/07/10)

12/10/2010 10:36 AM

'I let the machine do it for me.

'Copy and paste into an excel macro, then run the macro

'Lot's of extra fluff here, I like visual...

'Hey, where's my tabulation spacing??? Dang Programmers.

Private Sub FindAnswer()


Range("A1").Value = 9638
Range("A2").Value = 2591
Range("A3").Value = 8739

For I = 2 To 2592

Range("B1").Value = I
Range("B2").Value = I
Range("B3").Value = I

Range("C1").Value = Range("A1").Value / Range("B1").Value
Range("C2").Value = Range("A2").Value / Range("B2").Value
Range("C3").Value = Range("A3").Value / Range("B3").Value

Range("D1").Value = Range("A1").Value Mod Range("B1").Value
Range("D2").Value = Range("A2").Value Mod Range("B2").Value
Range("D3").Value = Range("A3").Value Mod Range("B3").Value

If (Range("D1").Value = Range("D2").Value) And (Range("D2").Value = Range("D3").Value) Then

MsgBox ("Found Answer")
Exit Sub

End If

Next I

End Sub

__________________
Regards, Pete Olsen
Reply
Anonymous Poster
#31

Re: The Remainder: Newsletter Challenge (12/07/10)

12/14/2010 3:40 PM

<?

$nums = array(9638, 2591, 8739);

for($i=;$i<1000;$i++){

foreach($nums as $index => $num){
$n[$index]=fmod($num,$i);
}

if ($n[0]==$n[1] && $n[1] == $n[2]){
echo $i."\r\n";
print_r($n);

break;
}


}

?>

29
Array
(
[0] => 10
[1] => 10
[2] => 10
)

Reply
Participant

Join Date: Dec 2008
Posts: 1
#32

Re: The Remainder: Newsletter Challenge (12/07/10)

12/14/2010 10:29 PM

If the unknown divisor is D and the remainder is R, and the lower case pronumerals a, b, c, d etc are integers, then 9638 = aD +R; 2591 = bD + R; 8739 = cD + R. So 9638 - 8739 = 899 = (a-c)D, i.e. 899 is a multiple of D.

Now factorising a number is a notorious brute force problem (as far as I know), but 899 happens to be 900 - 1 = (30+1)x(30-1) = 31 x 29. So D must be either 29 or 31. Both can be tried easily and I find that D must be 29.

More generally, we can write 9638 - 899x10 = 648, so if we divide out by D, we see that 648 = dD + R; and similarly, 2591 - 899x2 = 793 so 793 = eD + R.

So 793 - 648 = 145 is a multiple of D. We are now working with much smaller numbers, so we can easily see that 145 = 5x29, and since 5 is not a factor of 899, D must be 29.

Or, we can continue the same way: 899 = 6x145 + 29. So 29 must be a multiple of D. Since 29 is known to be a prime number, D must be 29 (Or, trivially, 1).

Simple programming solutions also exist. I do not believe that using them is cheating.

Reply Score 1 for Good Answer
Guru

Join Date: Mar 2009
Posts: 507
#34
In reply to #32

Re: The Remainder: Newsletter Challenge (12/07/10)

12/15/2010 2:47 AM

also you can say: 899 = (a+b)*(a-b) = a²-b² = 900 - 1 = 30²-1² = (30+1)*(30-1) = 31*29

Reply
Anonymous Poster
#33

Re: The Remainder: Newsletter Challenge (12/07/10)

12/15/2010 2:03 AM

When 9638, 2591, and 8739 are divided by a certain integer, the remainder is the same for each. What is the integer used as the divisor?

Calc the difference between each of the 3 numbers -

ie 899, 6148 & 7047

Factor them

899 = 29 * 31

6148 = 29 * 212

7047 = 29 * 243

Divisor is 29

Reply
Anonymous Poster
#35

Re: The Remainder: Newsletter Challenge (12/07/10)

12/15/2010 12:07 PM

9639

Reply Score 1 for Off Topic
Associate

Join Date: Jul 2008
Location: Red River Valley
Posts: 35
Good Answers: 1
#36

Re: The Remainder: Newsletter Challenge (12/07/10)

12/17/2010 9:18 PM

Well this puzzle has been solved, resolved, & programmed in several ways. The answers are 29, 1 & their negative values by general agreement. While solvable quickly using "Brute Force" programming techniques, other solutions illustrated the wonderful way numbers interact.

But now we have considerable time left over including the upcomming Holiday, when many may have spare time for contemplation. So here is another puzzle for those interested inremainder problems.

A rancher has been accumulating stock toward reaching the maximum capacity of his place of 500 head. One day he decides to count how many he had acquired, so had them all rounded up. He had a number of pens available so they ran half into the first pen and half into the second pen. But there was on o'l cow left over. So they took a fraction of the cows from the first & a fraction of the cows from the second and put them in the next pen so there was an equal number in each of the three pens - but - there was one o'l cow left over. Dividing the cows equally into 4, 5 & 6 pens always left one o'l cow left over. Finally they moved the cows so that there was equal number in seven pens - and - ii viola !! there wasn't any cow left over. So how many cows did the Rancher have???.

Reply
Guru
Technical Fields - Technical Writing - New Member Engineering Fields - Piping Design Engineering - New Member

Join Date: May 2009
Location: Richland, WA, USA
Posts: 21017
Good Answers: 795
#37
In reply to #36

Re: The Remainder: Newsletter Challenge (12/07/10)

12/17/2010 9:30 PM

Not to give away the answer too quickly, but I'll start the ball rolling by noting that LCM(2,3,4,5,6) = 60.

__________________
In vino veritas; in cervisia carmen; in aqua E. coli.
Reply
3
Power-User

Join Date: Feb 2008
Location: Washington State
Posts: 172
Good Answers: 31
#43
In reply to #37

Re: The Remainder: Newsletter Challenge (12/07/10)

12/20/2010 2:05 PM

Thanks Oldr&Wiser for the good addition to the challenge.

The total number of cows is equal to some number X which is approaching but less than 500. X-1 is evenly divisible by 2, 3, 4, 5, and 6. To be divisible evenly by 2, 3, 4, 5, and 6, the minimum number for X-1 is 4*3*5 or 60. The number of cows is 60Y +1 where Y is an integer. We know the maximum number of cows is less than 500 giving Ymax = 500/60 = 8+. Candidate numbers for Y are 1 through 8. We know (60Y+1)/7 is an integer. (56Y + 4Y +1)/7 is an integer or 8Y +(4Y + 1)/7 is an integer. (4Y + 1)/7 is also an integer. For Y = 1 to 8, only Y = 5 satisfies this constraint. For Y =5, X = 5*60 + 1 = 301.

Thanks,

Jim

Reply Good Answer (Score 3)
Guru

Join Date: Mar 2009
Posts: 507
#38
In reply to #36

Re: The Remainder: Newsletter Challenge (12/07/10)

12/19/2010 1:04 AM

7*a=n

6*b=n-1

5*c=n-1

4*d=n-1

4*d=5*c=6*b=7*a-1

a,b,c,d,n are integers

the number n has a last digit with 1 or 6

4,5,6 results in numbers like 60+m*60, m=0,1,2,...

7 results in number like 21+l*70 or 56*l*70 with l=0,1,2,... because 4,5,6 the result must be something with 21+l*70 = 60+m*60+1

the shortest solution is 4*70=40+4*60=280

Reply Score 1 for Off Topic
Guru
Technical Fields - Technical Writing - New Member Engineering Fields - Piping Design Engineering - New Member

Join Date: May 2009
Location: Richland, WA, USA
Posts: 21017
Good Answers: 795
#39
In reply to #38

Re: The Remainder: Newsletter Challenge (12/07/10)

12/19/2010 1:46 AM

Sorry. but 280 cows can be divided evenly into 2, 4, or 5 pens.

__________________
In vino veritas; in cervisia carmen; in aqua E. coli.
Reply
Guru

Join Date: Mar 2009
Posts: 507
#42
In reply to #39

Re: The Remainder: Newsletter Challenge (12/07/10)

12/20/2010 1:09 AM

21+l*70=60+m*60+1

if l=m l=40/(70-60)=4

the value is 301

301-1=300 is dividable by 2, 3, 4, 5, 6

301 is dividable by 7

301=280+21

Reply
Guru

Join Date: Mar 2009
Posts: 507
#44
In reply to #42

Re: The Remainder: Newsletter Challenge (12/07/10)

12/20/2010 11:41 PM

other solutions are existing for

l=4+i*6 and m=l+i where i=0,1,2,3,...

Reply Score 1 for Off Topic
Guru
Technical Fields - Technical Writing - New Member Engineering Fields - Piping Design Engineering - New Member

Join Date: May 2009
Location: Richland, WA, USA
Posts: 21017
Good Answers: 795
#45
In reply to #42

Re: The Remainder: Newsletter Challenge (12/07/10)

12/21/2010 12:14 AM

The first two lines may be true, but what motivates them?; where do they come from?

__________________
In vino veritas; in cervisia carmen; in aqua E. coli.
Reply
Guru

Join Date: Mar 2009
Posts: 507
#63
In reply to #45

Re: The Remainder: Newsletter Challenge (12/07/10)

12/22/2010 12:25 AM

see post 38

Reply Score 1 for Off Topic
Associate

Join Date: Jul 2008
Location: Red River Valley
Posts: 35
Good Answers: 1
#40

Re: The Remainder: Newsletter Challenge (12/07/10)

12/19/2010 5:08 PM

The answer to he cows puzzle depends on finding a number so that when it is divided by 2,3,4,5,6 there is only 1 left over, when divided into 7 pens there are none left over - nice try - but not correct as has been pointed out. Condider how the cows could be moved from pen to pen........ (Hint : "a fraction of the cows from pen 1" etc...)

Reply
Guru
Technical Fields - Technical Writing - New Member Engineering Fields - Piping Design Engineering - New Member

Join Date: May 2009
Location: Richland, WA, USA
Posts: 21017
Good Answers: 795
#41

Re: The Remainder: Newsletter Challenge (12/07/10)

12/19/2010 5:30 PM

Next hint: 60 = 4(mod 7).

__________________
In vino veritas; in cervisia carmen; in aqua E. coli.
Reply
Anonymous Poster
#46

Re: The Remainder: Newsletter Challenge (12/07/10)

12/21/2010 9:57 AM

29

Reply
Anonymous Poster
#47

Re: The Remainder: Newsletter Challenge (12/07/10)

12/21/2010 10:22 AM

29 is not an integer, it has two integers.

Reply Score 1 for Off Topic
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#55
In reply to #47

Re: The Remainder: Newsletter Challenge (12/07/10)

12/21/2010 11:31 AM
__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Reply Off Topic (Score 5)
Anonymous Poster
#48

Re: The Remainder: Newsletter Challenge (12/07/10)

12/21/2010 10:35 AM

I guess not many people remember their formula for finding the GCD (greatest common divisor)

(Step 1 - observation about remainders)

Because the challenge numbers all have the same remainder when divided by the mystery number, the difference between any two will have a zero remainder when divided by the mystery number.. if our numbers are x,y,z, we want to use (e.g.) (x-y) and (z-y) and find their GCD.

(Step 2: finding the GCD);

Finding the GCD of two numbers is an iterative process.

Divide the smaller into the larger, returning a remainder. Discard the larger number, now we have the prior divisor and the remainder of the division.

If the remainder was zero, the divisor was the GCD. if not repeat the process (the prior divisor is now the "larger number" and the remainder is the "smaller"

e.g. What is the GCD of 77 and 21?

77/21 = 3 r 14

21/14 = 1 r 7

14/7 = 2 r 0

7 is the GCD.

(Step 3 - apply the technique)

find the GCD of (9638-2591) and (8739-2591)

Share and Enjoy!

RufusVS

Reply Score 1 for Good Answer
Guru
Technical Fields - Technical Writing - New Member Engineering Fields - Piping Design Engineering - New Member

Join Date: May 2009
Location: Richland, WA, USA
Posts: 21017
Good Answers: 795
#49
In reply to #48

Re: The Remainder: Newsletter Challenge (12/07/10)

12/21/2010 10:42 AM

If memory serves, that's called "Euclid's algorithm."

__________________
In vino veritas; in cervisia carmen; in aqua E. coli.
Reply
Guru
Popular Science - Cosmology - New Member Engineering Fields - Civil Engineering - New Member Engineering Fields - Nuclear Engineering - New Member United States - Member - New Member

Join Date: Aug 2010
Posts: 714
Good Answers: 38
#56
In reply to #48

Re: The Remainder: Newsletter Challenge (12/07/10)

12/21/2010 11:46 AM

Fantastic technique. I was never taught it and this is the first time I've seen it.

Thanks for sharing!

__________________
Sometimes my thoughts are in a degree of order so high even I don't get it...
Reply
Guru
Popular Science - Cosmology - New Member Engineering Fields - Civil Engineering - New Member Engineering Fields - Nuclear Engineering - New Member United States - Member - New Member

Join Date: Aug 2010
Posts: 714
Good Answers: 38
#50

Where's The Remainder?

12/21/2010 10:46 AM

Three businessmen rent a hotel room for a night. The hotel manager tells them it will be $30 for one night. So each man hands over $10 and proceed to the room. The manager realizing he has overcharged the three men hands the bell hop $5 to refund them. The bell hop decides that $5 doesn't evenly divide by the 3 patrons, so he pockets $2 (of the $5) and gives a $1 refund to each guest.

From the businessmen's point of view they have each paid $9. So… (3 x $9 = $27) plus the $2 in the bell hop's pocket equals $29 dollars. So what happened to the other dollar?

__________________
Sometimes my thoughts are in a degree of order so high even I don't get it...
Reply
Guru
Technical Fields - Technical Writing - New Member Engineering Fields - Piping Design Engineering - New Member

Join Date: May 2009
Location: Richland, WA, USA
Posts: 21017
Good Answers: 795
#53
In reply to #50

Re: Where's The Remainder?

12/21/2010 10:59 AM

Nothing. The addition/subtraction used in this story is meaningless.

__________________
In vino veritas; in cervisia carmen; in aqua E. coli.
Reply
Guru
Popular Science - Cosmology - New Member Engineering Fields - Civil Engineering - New Member Engineering Fields - Nuclear Engineering - New Member United States - Member - New Member

Join Date: Aug 2010
Posts: 714
Good Answers: 38
#57
In reply to #53

Re: Where's The Remainder?

12/21/2010 12:41 PM

I've always liked this one... perhaps it needs to be retitled "Lehman Brothers Accounting 101"

__________________
Sometimes my thoughts are in a degree of order so high even I don't get it...
Reply
Participant

Join Date: Dec 2010
Location: Sydney, Australia
Posts: 2
Good Answers: 1
#59
In reply to #50

Re: Where's The Remainder?

12/21/2010 6:04 PM

Nothing. Money is just redistributed.

Manager had $30. Now manager has $25, bell hop $2 and 3 businessman $1 each.

Another way of looking at it is 3 x $9 = $27 = $25 for manager and $2 for bell hop.

Reply
Guru

Join Date: Mar 2009
Posts: 507
#64
In reply to #50

Re: Where's The Remainder?

12/22/2010 12:29 AM

25+3=28

2 for the bell hop

Reply Score 1 for Off Topic
Participant

Join Date: Dec 2010
Posts: 2
#51

Re: The Remainder: Newsletter Challenge (12/07/10)

12/21/2010 10:49 AM

When 9638, 2591, and 8739 are divided by 1 & 29, the remainder is the same for each.

Reply Score 1 for Off Topic
Anonymous Poster
#52

Re: The Remainder: Newsletter Challenge (12/07/10)

12/21/2010 10:55 AM

-1, 1, -29, 29

Reply Score 1 for Off Topic
Anonymous Poster
#54

Re: The Remainder: Newsletter Challenge (12/07/10)

12/21/2010 11:03 AM

-1, 1, -29, and 29.

From Groucho

Reply Score 1 for Off Topic
Anonymous Poster
#58

Re: The Remainder: Newsletter Challenge (12/07/10)

12/21/2010 2:41 PM

Answer + 1, - 1 and + 29 and - 29

Reply Score 1 for Off Topic
Participant

Join Date: Dec 2010
Location: Bulgaria
Posts: 1
#60

Re: The Remainder: Newsletter Challenge (12/07/10)

12/21/2010 7:22 PM

Divizor- 29, Remainder-10

Reply
Anonymous Poster
#61

Re: The Remainder: Newsletter Challenge (12/07/10)

12/21/2010 10:06 PM

7

Reply Score 1 for Off Topic
Anonymous Poster
#62

Re: The Remainder: Newsletter Challenge (12/07/10)

12/21/2010 11:41 PM

integers 2,4,19,38 and 76 all give the same remainder when used as the divisor to 96382591 and 8739.

Regards

Ken

Reply Score 1 for Off Topic
Anonymous Poster
#67
In reply to #62

Re: The Remainder: Newsletter Challenge (12/07/10)

12/22/2010 10:13 AM

My out-of-the box chuckle at this one died when I realized the groupings were 4 rather than 3.

Clever in another universe, maybe...

Reply
Anonymous Poster
#65

Re: The Remainder: Newsletter Challenge (12/07/10)

12/22/2010 4:26 AM

29

Reply
Participant

Join Date: Dec 2010
Posts: 1
#66

Re: The Remainder: Newsletter Challenge (12/07/10)

12/22/2010 8:08 AM

29

Reply
Active Contributor
Hobbies - HAM Radio - VE9GFI Canada - Member - My company's mascot is the beaver.

Join Date: Oct 2006
Location: Saint John NB Canada
Posts: 21
#68

Re: The Remainder: Newsletter Challenge (12/07/10)

12/22/2010 10:18 AM

The divisor is 29, for which the remainder is 10 in all cases.

I'd like to say that my fancy three equations and three unknowns math solved this, but I counted 5 unknowns, and then used a spreadsheet to calculate the MOD, and filter out only the remainders that matched the average of all remainders.

This yielded the answer, but I'd like to see the math proof.

Reply
Guru
Technical Fields - Technical Writing - New Member Engineering Fields - Piping Design Engineering - New Member

Join Date: May 2009
Location: Richland, WA, USA
Posts: 21017
Good Answers: 795
#69
In reply to #68

Re: The Remainder: Newsletter Challenge (12/07/10)

12/22/2010 10:42 AM

Huh? What does "the average of all remainders" have to do with anything?

__________________
In vino veritas; in cervisia carmen; in aqua E. coli.
Reply
Anonymous Poster
#70
In reply to #68

Re: The Remainder: Newsletter Challenge (12/07/10)

12/23/2010 10:18 PM

For what it is worth the original solution results from dividing the cows into 6 pens, then removing "x" cows from each and running them into pen 7. Then put the odd cow in pen 7 also. So now you have (N - 1)/6 - x left in pen 6 & (6 * x) + 1 in pen 7. Since the number now in pen 7 equals the number left in 6 the following equation gives the solution to the puzzle.

(N -1)/6 -x = 6x + 1 Simplifying & rearranging gives :

N = 42x + 7 Solution by trial is :

x .....N .......N/x

4 175 43.75

5 217 43.40

6 259 43.17

7 301 43.00 Answer !

Best wishes to all for a Happy Holiday !!!!

Reply Score 1 for Good Answer
Guru

Join Date: Mar 2009
Posts: 507
#72
In reply to #70

Re: The Remainder: Newsletter Challenge (12/07/10)

12/25/2010 12:30 AM

where is pen 5?

Reply Score 1 for Off Topic
Associate

Join Date: Jul 2008
Location: Red River Valley
Posts: 35
Good Answers: 1
#73
In reply to #72

Re: The Remainder: Newsletter Challenge (12/07/10)

12/25/2010 2:13 PM

Pen 5 is between Pen 4 & Pen 6 . All the pens (1 - 7) now have 43 cows in each. Hope this clarifies the solution.

Reply Score 1 for Good Answer
Anonymous Poster
#71

Re: The Remainder: Newsletter Challenge (12/07/10)

12/24/2010 12:56 AM

This month's Challenge Question:

When 9638, 2591, and 8739 are divided by a certain integer, the remainder is the same for each. What is the integer used as the divisor?

Divisor is 29. Remainder is 10 for each no.

Reply Score 1 for Off Topic
Anonymous Poster
#74

Re: The Remainder: Newsletter Challenge (12/07/10)

12/25/2010 9:31 PM

Ans 3 . Michael Piner Wilmington NC

Reply Score 1 for Off Topic
Anonymous Poster
#75

Re: The Remainder: Newsletter Challenge (12/07/10)

01/04/2011 10:02 AM

Ignoring '1' as a trivialsolution, the differences between the numbers (a-b, a-c, b-c) will contain one (or possibly more) common factor(s) F of the solution and set upper bounds to the solution, assuming that the smallest difference must be an integer multiple of the result.

The remainder R is given by

R= a-F*integer(a/F),

This can be checked with the other numbers b & c. The highest common factor of (a-R), (b-R) and (c-R) is the result. Alternatively, the result can be viewed as a product F*F1, where we already know F. F1 is The highest common factor of (a-R)/F, (b-R)/F and (c-R)/F.

Reply
Guru

Join Date: Mar 2009
Posts: 507
#76
In reply to #75

Re: The Remainder: Newsletter Challenge (12/07/10)

01/05/2011 12:03 AM

and what are these numbers F, F1, R

Reply
Reply to Blog Entry 76 comments

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

Anonymous Poster (20); Attila Farkas (1); carel (1); ChaoticIntellect (4); ddk (1); geoffrx8 (2); gonen_a (1); Ivan_Todorov (1); jim35848 (3); Kenneth Leigh (1); LAA_Lucke (1); Lancoz (1); Oldr&wiser (5); passingtongreen (1); peteolsen (1); PrinEngr (1); Randall (2); RDGRNR (1); rsharkey (1); Steampunk (1); Tech_Teacher (1); Tornado (9); Usbport (3); ve9gfi (1); WilhelmHKoen (10)

Previous in Blog: Marathon Runner: Newsletter Challenge (11/02/10)   Next in Blog: Calculating Machine: Newsletter Challenge (01/04/11)

Advertisement