A127909 Number of different digraphs on n unlabeled nodes which are not graphs.
0, 0, 1, 12, 207, 9574, 1540788, 882032396, 1793359180502, 13027956824124884, 341260431952960575184, 32522909385055885092199576, 11366745430825400574268802831632, 14669085692712929869037045573284852976, 70315656615234999521385506526925748433982432
Offset: 0
Examples
a(2) = 1 because with two points a and b, either there are no edges connecting them, or there is one directed edge between them, or there is a bidirectional pair of edges between them; only the case with one directed edge is the unique 2-point digraph which is not a graph.
Links
- Chai Wah Wu, Table of n, a(n) for n = 0..60
Programs
-
Python
from itertools import combinations from math import prod, factorial, gcd from fractions import Fraction from sympy.utilities.iterables import partitions def A127909(n): return int(sum(Fraction((1<
>1)*r+(q*r*(r-1)>>1) for q, r in p.items())),prod(q**r*factorial(r) for q, r in p.items())) for p in partitions(n))) # Chai Wah Wu, Jul 05 2024
Comments