I doodled on a bit of paper. A connection between any two points can either be on ______ ie a solid line, or off -------- a dotted line.

It seems the total number of configurations, as you add nodes, goes 2 -> 8 -> 16 if you only draw connections between the outer nodes ie a power law based on 2 where:
total number of (outer) configurations = 2 to the power (total number of nodes)
BUT: if you also connect within the shape the configuration number jumps to 2->8->64
ie 2x2x2x2x2x2 (2 power 6)
I only drew as far as 4 nodes. Because when I got to 5 nodes - a pentagon - the number of internal connections (imagine a 5-pointed star) - made me decide to say "screw this".
Two questions for the maths people.
1) How does the sequence continue, with internal connections ie 2,8,64,__ ?.
2) What's the law..?
I'm guessing that for five nodes the total will be 2power 10 ie 2x2x2x2x2x2x2x2x2x2
and the rule is TC = 2 to the power (number of possible connection routes between nodes)
Am I right..?
One final thing. As the above stands, there are only two connection states - on or off - if I added a third, let's say 'half-on' would that make the law follow a 3x3x3x3x3x3 ad infinitum sequence..?
ie TC = (number of connection states) to the power (number of possible connection routes between nodes)
Answers on a postcard please.



