Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-28-2003, 04:30 PM   #1
kevinale
Confirmed User
 
Join Date: Dec 2002
Location: Austin, TX
Posts: 2,115
GFY: Math Challenge

Well my girlfriend works in an actuarial department (basically math geeks) and they have from time to time. So here was a math problem that was forwarded to the office group. See if you can get it.




There is a number (n) that is composed of 3 digits such that when squared, it's result has only even numbers. When (n+500) is squared, it has a result that is comprised of only even numbers.

What is n?

<BR><BR><BR><BR><BR>
<BR><BR><BR><BR><BR>
<BR><BR><BR><BR><BR>
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
<BR><BR><BR><BR><BR>
__________________
1monkey0cup.com
kevinale is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:31 PM   #2
-=HOAX=-
Confirmed User
 
Join Date: Dec 2001
Location: CrackYaMental
Posts: 4,365
4
__________________
Insert Value Here.
-=HOAX=- is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:32 PM   #3
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
69
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:36 PM   #4
The Truth Hurts
Zph7YXfjMhg
 
The Truth Hurts's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,304
unless you worded it wrong... or i read it wrong... there seems to be a lot of possible answers.
The Truth Hurts is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:39 PM   #5
imJason
Confirmed User
 
Join Date: Sep 2002
Location: Montreal
Posts: 1,215
yah I think its worded wrong also,

all 3 digit numbers that are even, would be even when squared,

so thats like half the numbers from 100 to 998

and adding 500 to them still means they are even, no matter what the number, so its square would also be even,

???
__________________
IM Jason

31227578

http://www.vidsvidsvids.com
imJason is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:40 PM   #6
SpaceAce
Confirmed User
 
Join Date: Jul 2002
Location: Magrathea
Posts: 6,493
Quote:
Originally posted by imJason
yah I think its worded wrong also,

all 3 digit numbers that are even, would be even when squared,

so thats like half the numbers from 100 to 998

and adding 500 to them still means they are even, no matter what the number, so its square would also be even,

???
He didn't say the number was merely even, it is comprised of all even digits.

SpaceAce
SpaceAce is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:42 PM   #7
European Lee
Confirmed User
 
Join Date: Dec 2002
Location: Daytona Beach
Posts: 7,133
I know this much.....

Its a prime number

Regards,

Lee
European Lee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:42 PM   #8
imJason
Confirmed User
 
Join Date: Sep 2002
Location: Montreal
Posts: 1,215
Quote:
Originally posted by SpaceAce


He didn't say the number was merely even, it is comprised of all even digits.

SpaceAce
your right, not is a even number, is comprised only of even numbers

ok
__________________
IM Jason

31227578

http://www.vidsvidsvids.com
imJason is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:42 PM   #9
Pipecrew
Master of Gfy.com
 
Pipecrew's Avatar
 
Industry Role:
Join Date: Feb 2002
Posts: 14,887
you are all impicbles, the answer is 112.5
Pipecrew is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:43 PM   #10
The Truth Hurts
Zph7YXfjMhg
 
The Truth Hurts's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,304
Quote:
Originally posted by SpaceAce


He didn't say the number was merely even, it is comprised of all even digits.

SpaceAce
that still leaves a lot of possibilities..
The Truth Hurts is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:43 PM   #11
kevinale
Confirmed User
 
Join Date: Dec 2002
Location: Austin, TX
Posts: 2,115
Quote:
Originally posted by SpaceAce


He didn't say the number was merely even, it is comprised of all even digits.

SpaceAce
I didn't say (n) was even. I said (n)^2 has all even digits and (n+500)^2 has all even digits.
__________________
1monkey0cup.com
kevinale is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:43 PM   #12
The Truth Hurts
Zph7YXfjMhg
 
The Truth Hurts's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,304
Quote:
Originally posted by Pipecrew
you are all impicbles, the answer is 112.5

on that note...
what the fuck is an impicble?
The Truth Hurts is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:44 PM   #13
BlueDesignStudios
Confirmed User
 
Industry Role:
Join Date: Feb 2003
Location: Australia
Posts: 9,492
462

Did i win?
__________________

Blue Design Studios - Adult Design Specialists!
Email me for a free quote: [email protected]
BlueDesignStudios is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:44 PM   #14
buddyjuf
Guest
 
Posts: n/a
168 times 168 is 28224 and 668 times 668 is 446224

n = 168

what do I win?
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:46 PM   #15
SpaceAce
Confirmed User
 
Join Date: Jul 2002
Location: Magrathea
Posts: 6,493
Quote:
Originally posted by kevinale


I didn't say (n) was even. I said (n)^2 has all even digits and (n+500)^2 has all even digits.
I know. I was trying to point that out to everyone who thought the resulting number had to be merely even. I wasn't talking about n, I was talking about it's square.

SpaceAce
SpaceAce is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:48 PM   #16
stocktrader23
Let's do some business.
 
stocktrader23's Avatar
 
Industry Role:
Join Date: Jan 2003
Location: The dirty south.
Posts: 18,781
Quote:
Originally posted by bdjuf
168 times 168 is 28224 and 668 times 668 is 446224

n = 168

what do I win?
Mind explaining how you got to that figure?
__________________


Hands Free Adult - Join Once, Earn For Life

"I try to make a habit of bouncing my eyes up to the face of a beautiful woman, and often repeat “not mine” in my head or even verbally. She’s not mine. God has her set aside. She’s not mine. She’s His little girl, and she needs me to fight for her by keeping my eyes where they should be."
stocktrader23 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:49 PM   #17
kevinale
Confirmed User
 
Join Date: Dec 2002
Location: Austin, TX
Posts: 2,115
Quote:
Originally posted by bdjuf
168 times 168 is 28224 and 668 times 668 is 446224

n = 168

what do I win?
ONE MEEEELION DOLLARS!

Good job.
__________________
1monkey0cup.com
kevinale is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:49 PM   #18
Damian_Maxcash
So Fucking Banned
 
Join Date: Oct 2002
Location: MaxCash.com
Posts: 12,745
Quote:
Originally posted by bdjuf
168 times 168 is 28224 and 668 times 668 is 446224

n = 168

what do I win?
Beat me to by about 5 secs......
Damian_Maxcash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:50 PM   #19
buddyjuf
Guest
 
Posts: n/a
Quote:
Originally posted by stocktrader23


Mind explaining how you got to that figure?
the power of PHP =)

http://www.wantsmut.com/square.php
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:52 PM   #20
Beastiepoo
Confirmed User
 
Join Date: Mar 2002
Location: In a clog shop thinking about tulips
Posts: 1,971
Quote:
Originally posted by Pipecrew
you are all impicbles, the answer is 112.5
Beastiepoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:52 PM   #21
kevinale
Confirmed User
 
Join Date: Dec 2002
Location: Austin, TX
Posts: 2,115
I wrote a PERL program to figure it out for me. My g/f used Excel. Here is my code:

<pre>

for($n=100;$n<999;++$n) {
print "$n \n";
if(allEven($n) && allEven($n+500)){
print "\n\nI GOT IT! THE # is -> $n\n\n";
exit(1);
}
}

sub allEven{
$num1 = shift;
$num = "" . $num1**2;
$retVal = 1;
for($i=0; $i<length($num);++$i){
# print " TRYING $num length = " . length($num);
$k = substr($num,$i,1);
if($k%2 hahahaha 0){
$retVal &= 1;
}
else{
$retVal = 0;
}
}

return $retVal;

}

</pre>
__________________
1monkey0cup.com
kevinale is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 04:54 PM   #22
Mathius
Confirmed User
 
Join Date: May 2003
Posts: 263
Quote:
Originally posted by bdjuf
168 times 168 is 28224 and 668 times 668 is 446224

n = 168

what do I win?
nice job!!!
Mathius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 05:01 PM   #23
nazgul
Confirmed User
 
Join Date: Feb 2002
Posts: 227
Son of a bitch.... i just got here... and just figured it out on excel

168 is correct
nazgul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 05:06 PM   #24
buddyjuf
Guest
 
Posts: n/a
give us more of these
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 05:37 PM   #25
-=HOAX=-
Confirmed User
 
Join Date: Dec 2001
Location: CrackYaMental
Posts: 4,365
4
__________________
Insert Value Here.
-=HOAX=- is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 06:23 PM   #26
kevinale
Confirmed User
 
Join Date: Dec 2002
Location: Austin, TX
Posts: 2,115
Quote:
Originally posted by SpaceAce


I know. I was trying to point that out to everyone who thought the resulting number had to be merely even. I wasn't talking about n, I was talking about it's square.

SpaceAce
Yeah. I was agreeing with you.. I was just re-stating your quote and trying to further explain what the question was.
__________________
1monkey0cup.com
kevinale is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2003, 06:24 PM   #27
buddyjuf
Guest
 
Posts: n/a
Quote:
Originally posted by kevinale


Yeah. I was agreeing with you.. I was just re-stating your quote and trying to further explain what the question was.
that was an ugly bump
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.