mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2008-10-21, 20:26   #1
davar55
 
davar55's Avatar
 
May 2004
New York City

5×7×112 Posts
Default How Many Polygons

Start with an equilateral triangle with each side divided into N equal parts.
Draw the N-1 line segments parallel to each of the three sides connecting
the dividing vertices on the other two sides. This divdes the triangle into
N^2 small equilateral triangles. Within this diagram are various convex
polygons composed of contiguous small triangles. The question is, how
many such convex poygons are so formed? Say, for N = 1 through 10.
davar55 is offline   Reply With Quote
Old 2008-10-21, 20:57   #2
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

622410 Posts
Default

For N=1 we have Polygons = 1. I've done my part, 1/10th of the puzzle already finished.
retina is offline   Reply With Quote
Old 2008-10-21, 22:54   #3
Orgasmic Troll
Cranksta Rap Ayatollah
 
Orgasmic Troll's Avatar
 
Jul 2003

10100000012 Posts
Default

I get 11 for N=2 and 50 for N=3. I think a general form solution will be difficult
Orgasmic Troll is offline   Reply With Quote
Old 2008-10-21, 23:21   #4
Kevin
 
Kevin's Avatar
 
Aug 2002
Ann Arbor, MI

433 Posts
Default

If somebody can show that for n=4 you get 212 or 352, then I have a guess at the general form...

http://www.research.att.com/~njas/sequences/A026684

http://www.research.att.com/~njas/sequences/A026618
Kevin is offline   Reply With Quote
Old 2008-10-21, 23:36   #5
Orgasmic Troll
Cranksta Rap Ayatollah
 
Orgasmic Troll's Avatar
 
Jul 2003

641 Posts
Default

Quote:
Originally Posted by Kevin View Post
If somebody can show that for n=4 you get 212 or 352, then I have a guess at the general form...

http://www.research.att.com/~njas/sequences/A026684

http://www.research.att.com/~njas/sequences/A026618
yeah, I searched there too :)
Orgasmic Troll is offline   Reply With Quote
Old 2008-10-22, 19:14   #6
axn
 
axn's Avatar
 
Jun 2003

2×3×7×112 Posts
Default


1 1
2 11
3 50
4 156
5 392
6 854
7 1680
8 3060
9 5247
10 8569
11 13442
12 20384
13 30030
14 43148
15 60656
16 83640
17 113373
18 151335
19 199234
20 259028

From table of differences, a sixth degree polynomial should generate these numbers.
PS:- No guarantees that my program is error free.
axn is offline   Reply With Quote
Old 2008-10-23, 17:11   #7
axn
 
axn's Avatar
 
Jun 2003

2×3×7×112 Posts
Default

The polynomial is:

(n^6 + 27*n^5 + 205*n^4 + 405*n^3 + 154*n^2 - 72*n)/6!

which factorizes as:

n*(n+1)*(n+2)*(n+9)*(n^2+15*n-4)/6!
axn is offline   Reply With Quote
Old 2008-10-25, 00:28   #8
axn
 
axn's Avatar
 
Jun 2003

117328 Posts
Default

Looks like there was a bug in my program. The new numbers are:
Code:
1 1
2 11
3 50
4 157
5 398
6 876
7 1742
8 3208
9 5561
10 9179
11 14548
12 22281
13 33138
14 48048
15 68132
16 94728
17 129417
18 174051
19 230782
20 302093
Can somebody verify these?
axn is offline   Reply With Quote
Old 2008-10-25, 00:48   #9
starrynte
 
starrynte's Avatar
 
Oct 2008
California

22×59 Posts
Default

can you briefly describe how the program is working? (i'm stuck on this problem)
starrynte is offline   Reply With Quote
Old 2008-10-25, 04:12   #10
axn
 
axn's Avatar
 
Jun 2003

2×3×7×112 Posts
Default

The program works by extending the convex polygons one layer of triangles at a time.

The program keeps track of the "shape" & "size" of the bottom layer of all polygons.
Based on this, it calculates the shape & size of a new set of polygons formed by extending into
the newly added layer of triangles.

There are three types of shapes -- converging, parallel & diverging. The rules of extension:
Code:
\__/ ==> \__/
          \/

/  \  ==>  /  \    or   /  \    or   /  \   or   /  \
----      /    \        \   \       /   /        \  /
          ------         ----       ----          --
          
/  /  ==>   /  /   or   /  /
---        /  /         \ /
A converging extension reduces size by 1. A parallel extension keeps the same size. A diverging extension increases the size by 1.

A converging shape with a zero size in the last layer (i.e. converges to a point), can't be extended to next layer. [Parallel & Diverging shapes can't have zero size]
axn is offline   Reply With Quote
Old 2008-10-25, 04:37   #11
starrynte
 
starrynte's Avatar
 
Oct 2008
California

22×59 Posts
Default

Quote:
Originally Posted by axn1 View Post
The program works by extending the convex polygons one layer of triangles at a time.

The program keeps track of the "shape" & "size" of the bottom layer of all polygons.
Based on this, it calculates the shape & size of a new set of polygons formed by extending into
the newly added layer of triangles.

There are three types of shapes -- converging, parallel & diverging. The rules of extension:
Code:
\__/ ==> \__/
          \/

/  \  ==>  /  \    or   /  \    or   /  \   or   /  \
----      /    \        \   \       /   /        \  /
          ------         ----       ----          --
          
/  /  ==>   /  /   or   /  /
---        /  /         \ /
A converging extension reduces size by 1. A parallel extension keeps the same size. A diverging extension increases the size by 1.

A converging shape with a zero size in the last layer (i.e. converges to a point), can't be extended to next layer. [Parallel & Diverging shapes can't have zero size]
nice pictures, but i'm still confused on one part. which polygons are kept track of (so as to avoid identical shapes) and do you tell the type of a polygon purely by the shape
starrynte is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
polygons wildrabbitt Math 9 2018-03-26 19:03
Convex Polygons davar55 Puzzles 45 2007-02-25 14:34

All times are UTC. The time now is 16:14.


Mon Aug 2 16:14:32 UTC 2021 up 10 days, 10:43, 0 users, load averages: 2.37, 2.48, 2.33

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.