Hi all,

Its just a little problem that I thought up by myself that I couldnt really develop it beyond a few simple steps.

Basically I wanted to know if a function existed or could be made that would help to handle this question.

I wanted to know what structure (in a 3 dimensional field), could be build to get the most lines per dot as part of the structure but you can only include the lines on the outside of the shape.

I got this:

0 dots = 0 lines

1 dot = 0 lines

2 dots = 1 line

3 dots = 3 lines (triangle)

4 dots = 6 lines (as far as I can tell a pyramid is the most efficient for 4 dots)

5 dots = 9 lines (2 pyramids on top of each other, sharing a base)

Its just guess work no paper used.

But I am curious about the possibilities and if a formula exists that would make this simpler?

Thanks for the responses in advance.