This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A326247 #8 Jun 21 2019 22:45:08 %S A326247 0,0,1,9,32,80,165,301,504,792,1185,1705,2376,3224,4277,5565,7120, %T A326247 8976,11169,13737,16720,20160,24101,28589,33672,39400,45825,53001, %U A326247 60984,69832,79605,90365,102176,115104,129217,144585,161280,179376,198949,220077,242840 %N A326247 Number of labeled n-vertex 2-edge multigraphs that are neither crossing nor nesting. %C A326247 Two edges {a,b}, {c,d} are crossing if a < c < b < d or c < a < d < b, and nesting if a < c < d < b or c < a < b < d. %H A326247 Gus Wiseman, <a href="/A326247/a326247.png">The a(4) = 32 pairs of edges that are neither crossing nor nesting</a>. %F A326247 Conjectures from _Colin Barker_, Jun 21 2019: (Start) %F A326247 G.f.: x^2*(1 + 4*x - 3*x^2) / (1 - x)^5. %F A326247 a(n) = (n*(12 - 19*n + 6*n^2 + n^3)) / 12. %F A326247 a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5) for n>4. %F A326247 (End) %e A326247 The a(3) = 9 pairs of edges: %e A326247 {12,12} %e A326247 {12,13} %e A326247 {12,23} %e A326247 {13,12} %e A326247 {13,13} %e A326247 {13,23} %e A326247 {23,12} %e A326247 {23,13} %e A326247 {23,23} %t A326247 croXQ[stn_]:=MatchQ[stn,{___,{x_,y_},___,{z_,t_},___}/;x<z<y<t||z<x<t<y]; %t A326247 nestQ[stn_]:=MatchQ[stn,{___,{x_,y_},___,{z_,t_},___}/;x<z<t<y||z<x<y<t]; %t A326247 Table[Length[Select[Tuples[Subsets[Range[n],{2}],2],!nesXQ[#]&&!croXQ[#]&]],{n,0,10}] %Y A326247 The case for simple graphs (rather than multigraphs) is A095661. %Y A326247 Simple graphs that are neither crossing nor nesting are A326244. %Y A326247 The case for set partitions is A001519. %Y A326247 Non-crossing and non-nesting simple graphs are (both) A054726. %Y A326247 Cf. A000108, A002061, A006125, A117662, A324170, A326250, A326256. %K A326247 nonn %O A326247 0,4 %A A326247 _Gus Wiseman_, Jun 20 2019