A math problem for you geeks out there.

Fireman

Golden Member
May 18, 2000
1,269
0
0
My 5th grader brought this home on an assignment.
Post your answer and how you figured it out.

Q: All whole numbers from 1 to 2006 are written on on a black board. Johnny underlines all numbers divisible by 2. Sara underlines all numbers divisible by 3. Rudy underlines all numbers divisible by 4.
How many numbers are underlined exactly twice?
 

reverend boltron

Senior member
Nov 18, 2004
945
0
76
668.

Edit:
I divided 2006 by four and I got 501.5, and I knew that all of those numbers had to be divisible by two.

So those were underlined exactly twice.

Then I took 2006 and divided it by 3, and I got 668. I divided that by two, because I knew that only half of those would be even, which is a criteria to be underlined by 2 or 4.

Then I realized that every number that was divisible by 4 and 3 was also divisible by 2, which was 3 underlines. So I subtracted every number that was divisible by 12 in the range of 2006. So 2006/12= 167.

So, 501+334-167 = 668

Edit 2: I didn't "subtract" the numbers that were divisible by 12, but I removed them from the list.
 

chrisms

Diamond Member
Mar 9, 2003
6,615
0
0
Divide 2006 by two. Divide that number by two, thats how many are divisible by 2 and 4. Then every other number divisible by 3 is even, probably some pattern with the 3 and 4 numbers. Too lazy to think of it.
 

Fireman

Golden Member
May 18, 2000
1,269
0
0


'I divided 2006 by four and I got 501.5, and I knew that all of those numbers had to be divisible by two.

So those were underlined exactly twice.
'

This is wrong because some of those numbers will also be divisible by 3 and will be underlined 3 times.
 

reverend boltron

Senior member
Nov 18, 2004
945
0
76
Originally posted by: Fireman


'I divided 2006 by four and I got 501.5, and I knew that all of those numbers had to be divisible by two.

So those were underlined exactly twice.
'

This is wrong because some of those numbers will also be divisible by 3 and will be underlined 3 times.

Then take out all of the ones that are divisible by six and you have your answer.

If you're taking out the ones that are divisible by six, then don't take out the ones that are divisible by twelve too. Then you're coming up short.

So I guess it is 501.
 

Fireman

Golden Member
May 18, 2000
1,269
0
0
"Then take out all of the ones that are divisible by six and you have your answer.

If you're taking out the ones that are divisible by six, then don't take out the ones that are divisible by twelve too. Then you're coming up short.

So I guess it is 501. "

Winner winner chicken dinner! 501
Took me a lot longer though. Good job!
 

KLin

Lifer
Feb 29, 2000
29,501
126
106
I'm so bored I wrote an excel macro to evaluate if there were exactly 2 whole numbers for each divisible number. . Is Pan's Labyrinth any good?
 

reverend boltron

Senior member
Nov 18, 2004
945
0
76
Thanks! I like the problem of Hotel Infinity.

You have a hotel where there are an infinite amount of rooms, but managing an infinite amount of rooms is an awfully hard job to do. So they go through managers about once a month. The first manager of Hotel Infinity had every other room as a smoking room. But when he left, the next manager switched the status of every third room. And after he left, the manager after him switched the status of every fourth room. The question is, after an infinite amount of managers, what rooms are smoking?
 

Mr Smiley

Senior member
Oct 12, 2004
550
1
0
Im so bored I wrote a php script to answer it for me.
<?php
$numbers = 0;
$i = 1;
while($i<=2006){
if($i%2==0 && $i%3==0 && $i%4!=0){
$numbers++;
}
elseif($i%2==0 && $i%3!=0 && $i%4==0){
$numbers++;
}
elseif($i%2!=0 && $i%3==0 && $i%4==0){
$numbers++;
}
$i++;
}
echo $numbers;
?>
Heh 501!
 

ungsunghero

Golden Member
Oct 24, 2001
1,114
0
0
Originally posted by: reverend boltron
668.

Edit:
I divided 2006 by four and I got 501.5, and I knew that all of those numbers had to be divisible by two.

So those were underlined exactly twice.

Then I took 2006 and divided it by 3, and I got 668. I divided that by two, because I knew that only half of those would be even, which is a criteria to be underlined by 2 or 4.

Then I realized that every number that was divisible by 4 and 3 was also divisible by 2, which was 3 underlines. So I subtracted every number that was divisible by 12 in the range of 2006. So 2006/12= 167.

So, 501+334-167 = 668

Edit 2: I didn't "subtract" the numbers that were divisible by 12, but I removed them from the list.

I did pretty much the same as this.

I looked for all numbers divisible by 4 or 6, and not divisible by 12 (which would be those numbers with three underlines).

501 numbers are divisible by 4, 1/3 of them (167) by 12.
334 numbers are divisible by 6, 1/2 of them (167) by 12.

501 + 334 - 167 - 167 = 501

At first, I was looking for numbers divisble by 6 and 8, but not 12, but that would have left out those numbers divisble by 4 and not 3 (4, 16, 28, etc.)
 

KLin

Lifer
Feb 29, 2000
29,501
126
106
Since my brain is too bored to work correctly, why is 2006/4 and dropping the remainder the answer?
 

JujuFish

Lifer
Feb 3, 2005
11,033
752
136
Originally posted by: KLin
Since my brain is too bored to work correctly, why is 2006/4 and dropping the remainder the answer?

Because the third of those which are divisible by 4 is exactly equal to the amount that are divisible by 2 and 3 and not 4, so they cancel each other out.
 

Scarpozzi

Lifer
Jun 13, 2000
26,389
1,778
126
This is one of many reasons I don't want to have kids. If those snotty little bastards bring me meaningless problems to do, I think I'm going to abort them.....no matter how old they happen to be at the time. :disgust:


 

Adn4n

Golden Member
Aug 6, 2004
1,043
0
0
Every number is divisible by any number other than 0, thus, all are underlined.
 

eLiu

Diamond Member
Jun 4, 2001
6,407
1
0
Here's a similar problem...

Say all the numbers from 1 to 2006 are written on the board. Then the students underline each number that is divisible by 1, divisible by 2, divisible by 3, and so on, all the way up to all numbers divisible by 2006. How many numbers are underlined an *odd* number of times?
 

b0mbrman

Lifer
Jun 1, 2001
29,471
1
81
Originally posted by: Fireman
My 5th grader brought this home on an assignment.
Post your answer and how you figured it out.

Q: All whole numbers from 1 to 2006 are written on on a black board. Johnny underlines all numbers divisible by 2. Sara underlines all numbers divisible by 3. Rudy underlines all numbers divisible by 4.
How many numbers are underlined exactly twice?

Cycles at 12.

From 1 to 12, the number 4, 6, 8 are underlined twice.

167 cycles plus 2.

167 x 3 = 501
 

XZeroII

Lifer
Jun 30, 2001
12,572
0
0
Originally posted by: reverend boltron
Thanks! I like the problem of Hotel Infinity.

You have a hotel where there are an infinite amount of rooms, but managing an infinite amount of rooms is an awfully hard job to do. So they go through managers about once a month. The first manager of Hotel Infinity had every other room as a smoking room. But when he left, the next manager switched the status of every third room. And after he left, the manager after him switched the status of every fourth room. The question is, after an infinite amount of managers, what rooms are smoking?

An infinite number.
 

XZeroII

Lifer
Jun 30, 2001
12,572
0
0
Originally posted by: Fireman
My 5th grader brought this home on an assignment.
Post your answer and how you figured it out.

Q: All whole numbers from 1 to 2006 are written on on a black board. Johnny underlines all numbers divisible by 2. Sara underlines all numbers divisible by 3. Rudy underlines all numbers divisible by 4.
How many numbers are underlined exactly twice?

42.

In 5th grade, I really didn't care enough to put more than 2 seconds worth of thought into a single questions.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |