OFFSET
4,1
LINKS
M. Lavrov and M. Riedel, math.stackexchange.com, Number of labelled trees on n vertices containing two fixed non-adjacent edges
FORMULA
a(n) = 0 for n < 4, 4 * n^(n-4) = 4 * A008785(n-4) otherwise.
EXAMPLE
The edges {1,2} and {3,4} can form a tree by being joined by an edge in four ways (two possibilities for each edge).
MATHEMATICA
Array[4 #^(# - 4) &, 21, 4] (* Michael De Vlieger, Mar 19 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Marko Riedel, Mar 17 2018
STATUS
approved