A372172 Number of labeled simple graphs on n vertices with exactly one triangle.
0, 0, 0, 1, 16, 290, 6980, 235270, 11298056, 777154308, 76560083040
Offset: 0
Examples
The a(4) = 16 graphs: 12,13,23 12,14,24 13,14,34 23,24,34 12,13,14,23 12,13,14,24 12,13,14,34 12,13,23,24 12,13,23,34 12,14,23,24 12,14,24,34 12,23,24,34 13,14,23,34 13,14,24,34 13,23,24,34 14,23,24,34
Crossrefs
The unlabeled version is A372194.
Programs
-
Mathematica
cys[y_]:=Select[Subsets[Union@@y,{3}],MemberQ[y,{#[[1]],#[[2]]}] && MemberQ[y,{#[[1]],#[[3]]}] && MemberQ[y,{#[[2]],#[[3]]}]&]; Table[Length[Select[Subsets[Subsets[Range[n],{2}]], Length[cys[#]]==1&]],{n,0,5}]
Formula
Binomial transform of A372171.
Extensions
a(8)-a(10) from Andrew Howroyd, Aug 01 2024
Comments