OFFSET
0,2
COMMENTS
There are n cities located on the vertices of a convex n-gon and 2 types of communication lines available. Any city can be connected to any other by only one communication line (that can be of any type). A network exists if at least 2 cities are connected by a communication line. The sequence shows how many different networks a(n) can be built. In general, if the number of communication-line types is c, then a(n) = (c+1)^(n(n+1)/2)-1. Thus other sequences of this type can be generated.
FORMULA
a(n) = (3^A000217) - 1.
a(n) = A047656(n+1) - 1. - Omar E. Pol, Feb 18 2012
EXAMPLE
In the case of 2 different types of communication lines and 4 cities, the number of different networks (connecting at least 2 cities) is 728.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Ivan N. Ianakiev, Feb 10 2012
STATUS
approved