Go back
Crayons

Crayons

Posers and Puzzles

3 edits
Vote Up
Vote Down

Originally posted by JS357
Oops, it's "hidden".

This is my guess. Don't reply & quote or you will reveal it.

EDIT: Nevermind, my objection to this was already covered in later posts.

4 edits
Vote Up
Vote Down

Originally posted by forkedknight
It's fairly easy to prove that you can't do it with two colors:
Assume an equilateral triangle with side = 1 unit.

The color at each vertex must be different since each vertex is one unit away from both other vertices.
What you say is correct (follows from pigeonhole principle). But I think Shallow Blue meant he thinks one could get it down to 2 crayons (thus 3 colors, including the white). Or at least I am trying to give him the benefit of the doubt. 🙂

Vote Up
Vote Down

To deal with boundary points in smartarin's solution we can simply color all boundary points between regions the color of the region directly to the left. This leaves 5 boundary points on the left side of the page, which we color B if the color to the right is A and D if it is C (using smartarin's labels).

Vote Up
Vote Down

Originally posted by Anthem
To deal with boundary points in smartarin's solution we can simply color all boundary points between regions the color of the region directly to the left. This leaves 5 boundary points on the left side of the page, which we color B if the color to the right is A and D if it is C (using smartarin's labels).
Nice, I agree. I think this does resolve my earlier objections.

So it seems we have demonstrated that we can do it with 7 crayons (eight colors). But can it be done with fewer?

2 edits
Vote Up
Vote Down

I believe I have a way to do 6 colors (5 crayons). To make it easier I'm going to describe it on an infinite plane (out of which any 5x5 square will work).

Edit for hidden (sorry about the multiple lines).

As in smartarins solution we tile with touching circles and gaps between, however, this time we arrange it so that each circle is touching 6 other circles in a hexagonal pattern. Just do a google images search for "hexagonal circle packing" to get an idea of what I mean. Now, we color every row of circles (inside of the circles only) with the pattern A-B-C repeating, with the pattern offset in consecutive rows so that C is to the lower right of A.


The gaps are interesting in that any pair of adjacent gaps can be colored with the same color without violating the rules. So, group all of the gaps into pairs so that one of each pair is directly above the other (and the other below). Now we have rows of gap-pairs. Color each row of gap-pairs (again, inside only) with the pattern D-E-F repeating with the pattern offset in consecutive rows so that F is to the lower right of D.


Color all boundaries with the color directly to their left.

Vote Up
Vote Down

Originally posted by Anthem
I believe I have a way to do 6 colors (5 crayons). To make it easier I'm going to describe it on an infinite plane (out of which any 5x5 square will work).
I like the idea of hexagonal packing, but I do not think this proposed solution works. In your ABC geometry, consider for example the cluster that consists of adjacent A & B circles in row x and the touching adjacent C & A circles in row x+1. The center points of these circles should outline a rhombus with two 60-degree angles and two 120-degree angles. The long diagonal of this rhombus (which connects the center points of the two A circles) should have length = 2*Cos(30deg) = SQRT(3). But then that means the two A circles are, at their closest, only SQRT(3) - 1 = ~0.732 units apart. This means that there will be sets of two points along this diagonal that are both one unit apart and both A color. Am I missing something here in this analysis?

Vote Up
Vote Down

You are right, my solution is incorrect. I guess hexagonal packing is just too tight to do the job.

1 edit
Vote Up
Vote Down

... although:

okay, forget circles, lets just tile with regular hexagons of side length 1/2 units. Each row is colored ABCDEFG. The next row is offset so that the D is down and to the right of the A in the previous row. This gives us 7 colors, one better than smartarins.

Vote Up
Vote Down

Hexagons with side length equal to 1/2 don't work as the longest diagonals are of length equal to 1...

Vote Up
Vote Down

Originally posted by Palynka
Hexagons with side length equal to 1/2 don't work as the longest diagonals are of length equal to 1...
I think Anthem's latest suggestion with hexagons will still work. We just need a proviso analogous to the previous ones (such as, the terminal points on the 1 unit length diagonals you mention would take the same color as the point directly to their left).

Vote Up
Vote Down

Not sure if hexagons will work...

So what I understood is that, in this model a regular hexagon is surrounded by 6 other hexagons (flower shape), hence there are 7 distinct colors. But, although the diagonal of the hexagon is 1 unit, the distance between two opposite sides is less than 1 unit.

So when you create another set of petals (total 12 hexagons) surrounding the small flower, you cannot use the center most color in any of these 12 hexagons. You cannot map these outer hexagons with remaining 6 colors as well.

Try that...

Vote Up
Vote Down

Originally posted by LemonJello
Suppose I give you a white, blank card. Suppose it is square with side length of 5 (arbitrary) units. Suppose I have a bunch of crayons of all different colors. Suppose I tell you that you need to color one side of the card (either partially colored or fully colored, however you want to do it) such that when you finish there will be no set of two point ...[text shortened]... and (2) the two points have the same color.

What is the minimum number of crayons you need?
Going outside the box...

Euclidean geometry does not consider a line (eg, a diagonal) to be a collection of points. This has implications that I will skip over.

It was not stated that a unit was more than a point. The solution has to cover this possibility. A 5 x 5 square of points.

So the problem is reduced to this minimal case: A figure consists of a square, 5 points by five points. How can they be minimally colored (labelled) so that no neighboring points, diagonally, horizontally, or vertically, are of the same color (label)?

This is easy to solve.

So, expand the square to one consisting of 25 units, each one of them a 2 by 2 set of points. Is the solution any different?

Vote Up
Vote Down

Originally posted by smartarin
Not sure if hexagons will work...

So what I understood is that, in this model a regular hexagon is surrounded by 6 other hexagons (flower shape), hence there are 7 distinct colors. But, although the diagonal of the hexagon is 1 unit, the distance between two opposite sides is less than 1 unit.

So when you create another set of petals (total 12 hexag ...[text shortened]... 2 hexagons. You cannot map these outer hexagons with remaining 6 colors as well.

Try that...
Yes, this solution takes that into account. So, the first layer of petals surrounding any 'A' petal is (counter clockwise starting from the right): BFEGCD. The next layer is CGDCBDFBEFGE.

To get from any hexagon to another of the same color you need to go to 3 layers of petals out, which is more than 1 unit.

Vote Up
Vote Down

Originally posted by LemonJello
What you say is correct (follows from pigeonhole principle). But I think Shallow Blue meant he thinks one could get it down to 2 crayons (thus 3 colors, including the white). Or at least I am trying to give him the benefit of the doubt. 🙂
No, I was just not thinking right when I posted that answer. Nothing in it, I fear, is correct.

Richard

Vote Up
Vote Down

Originally posted by JS357
Going outside the box...

Euclidean geometry does not consider a line (eg, a diagonal) to be a collection of points. This has implications that I will skip over.

It was not stated that a unit was more than a point. The solution has to cover this possibility. A 5 x 5 square of points.

So the problem is reduced to this minimal case: A figure consists of ...[text shortened]... consisting of 25 units, each one of them a 2 by 2 set of points. Is the solution any different?
It was not stated that a unit was more than a point

Yes, definitely outside the box. For this problem, I think one has to assume that by a square card of 5 (arbitrary) units on a side, we are at least talking about some set of points that has the cardinality of the continuum; whereas the set of points you describe is countable. We can take 1 unit of length as small as we like, but I think we should still concern ourselves with non-zero length; whereas you are talking about discrete points, which have no length. I am not sure what this thought experiment can tell us, since the operation you specify (expanding by adding in more discrete points) is countable and hence can never scale to the continuum.

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.