OFFSET
0,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..50
EXAMPLE
The a(0) = 1 through a(3) = 13 loop-graph edge sets (loops shown as singletons):
{} {} {} {}
{{1}} {{1}} {{1}}
{{1,2}} {{1,2}}
{{1},{2}} {{1},{2}}
{{1},{1,2}} {{1},{1,2}}
{{1},{2,3}}
{{1,2},{1,3}}
{{1},{2},{3}}
{{1},{2},{1,2}}
{{1},{2},{1,3}}
{{1},{1,2},{1,3}}
{{1},{1,2},{2,3}}
{{1,2},{1,3},{2,3}}
MATHEMATICA
brute[m_]:=First[Sort[Table[Sort[Sort /@ (m/.Rule@@@Table[{(Union@@m)[[i]], p[[i]]}, {i, Length[p]}])], {p, Permutations[Range[Length[Union@@m]]]}]]];
Table[Length[Union[brute /@ Select[Subsets[Subsets[Range[n], {1, 2}]], Length[#]<=n&]]], {n, 0, 5}]
PROG
(PARI) a(n)=my(A=O(x*x^n)); if(n==0, 1, polcoef(G(n, A)/(1-x), n)) \\ G defined in A070166. - Andrew Howroyd, Feb 19 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Feb 16 2024
EXTENSIONS
a(7) onwards from Andrew Howroyd, Feb 19 2024
STATUS
approved