This forum is in archive mode. You will not be able to post new content.

Author Topic: Math Prob!  (Read 3638 times)

0 Members and 1 Guest are viewing this topic.

Offline z3ro

  • Knight
  • **
  • Posts: 345
  • Cookies: 60
    • View Profile
Math Prob!
« on: July 28, 2012, 11:10:44 AM »
A 40x40 white squareis divided into 1x1 squares by lines parallel to its sides. Some of these 1x1 squares are coloured red so that each of the 1x1 squares, regardless of whether it is coloured red or not, shares a side with at most one red square (not counting itself).
What is the largest possible number of red squares?
~ God is real. Unless declared as an integer.

Offline gh0st

  • Sir
  • ***
  • Posts: 575
  • Cookies: 8
  • #DEDSec
    • View Profile
Re: Math Prob!
« Reply #1 on: July 28, 2012, 06:41:29 PM »
I bet its 20x20

Offline theellimist

  • Knight
  • **
  • Posts: 371
  • Cookies: 17
    • View Profile
    • TheEllimist's Game
Re: Math Prob!
« Reply #2 on: July 28, 2012, 09:21:51 PM »
800

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: Math Prob!
« Reply #3 on: July 28, 2012, 10:25:31 PM »
I'm horrid at word problems, especially if it deals with geometry.

Is there an image accompaning the problem?

@limitless, how did you come up with the answer? Better to teach how to fish than to give it away.
>>>import this
-----------------------------

Offline z3ro

  • Knight
  • **
  • Posts: 345
  • Cookies: 60
    • View Profile
Re: Math Prob!
« Reply #4 on: July 29, 2012, 04:07:46 AM »
~ God is real. Unless declared as an integer.

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Math Prob!
« Reply #5 on: July 29, 2012, 08:25:35 AM »
My calculations are showing that this might be just a little over nine thousand.

Offline theellimist

  • Knight
  • **
  • Posts: 371
  • Cookies: 17
    • View Profile
    • TheEllimist's Game
Re: Math Prob!
« Reply #6 on: July 29, 2012, 09:18:10 AM »
Exactly like this but larger:


Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: Math Prob!
« Reply #7 on: July 29, 2012, 09:50:16 AM »
J
Exactly like this but larger:


Then the solution is mtiply the NxN then devide by two since it is either white or red. My thoughts only though. I am by no means a math guy.
>>>import this
-----------------------------

Offline Deque

  • P.I.N.N.
  • Global Moderator
  • Overlord
  • *
  • Posts: 1203
  • Cookies: 518
  • Programmer, Malware Analyst
    • View Profile
Re: Math Prob!
« Reply #8 on: July 29, 2012, 09:58:25 AM »
Exactly like this but larger:
 

 

Quote
each of the 1x1 squares [...] shares a side with at most one red square

Your white squares share sides with four red squares, which is too much.

I believe the maximum is a pattern like this one:



Which means you have 400 red squares in total (in every second line every second square is red: 40*40 / 4 = 400).
 
« Last Edit: July 29, 2012, 10:15:08 AM by Deque »

Offline theellimist

  • Knight
  • **
  • Posts: 371
  • Cookies: 17
    • View Profile
    • TheEllimist's Game
Re: Math Prob!
« Reply #9 on: July 30, 2012, 12:25:40 AM »
Your white squares share sides with four red squares, which is too much.
Corners are not sides bro.

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: Math Prob!
« Reply #10 on: July 30, 2012, 12:41:38 AM »
Corners are not sides bro.

Corners where never mentioned in the problem.
>>>import this
-----------------------------

Offline kateus

  • Peasant
  • *
  • Posts: 89
  • Cookies: 11
  • scientia potentia est
    • View Profile
Re: Math Prob!
« Reply #11 on: July 30, 2012, 02:48:22 AM »
Corners are not sides bro.


Yeah, but assuming that your black squares are red squares, most of the white square in that picture would share edges with up to 4 red(black) squares which go against the parameters of the problem.

Offline theellimist

  • Knight
  • **
  • Posts: 371
  • Cookies: 17
    • View Profile
    • TheEllimist's Game
Re: Math Prob!
« Reply #12 on: July 30, 2012, 05:41:21 AM »
Haha fuck me, I read the original problem wrong. In that case, I think Deque got it right.
« Last Edit: July 30, 2012, 05:45:31 AM by theellimist »

Offline pl0tuS

  • Knight
  • **
  • Posts: 320
  • Cookies: 22
    • View Profile
Re: Math Prob!
« Reply #13 on: July 30, 2012, 05:49:26 AM »
I think Deque is right. It follows the parameters.


--Approved future mod :D --Factionwars

 



Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.