OFFSET
1,2
COMMENTS
The maximum frustration of a graph is the maximum cardinality of a set of edges that contains at most half the edges of any cut-set. Another term that is used is "line index of imbalance". It is also equal to the covering radius of the coset code of the graph.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
G. S. Bowlin, Maximum Frustration in Bipartite Signed Graphs, Electr. J. Comb. 19(4) (2012) #P10.
R. L. Graham and N. J. A. Sloane, On the Covering Radius of Codes, IEEE Trans. Inform. Theory, IT-31(1985), 263-290.
P. Solé and T. Zaslavsky, A Coding Approach to Signed Graphs, SIAM J. Discr. Math 7 (1994), 544-553.
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,-1).
FORMULA
a(n) = floor(25/16*n) - 1 if n == 2,4,9,13, or 15 mod 16 or if n = 1 or 3; a(n) = floor(25/16*n) otherwise.
G.f.: -x^2*(x^18-x^17+x^16-x^15-3*x^14-x^13-2*x^12-x^11-x^10-2*x^9-2*x^8-x^7-2*x^6-x^5-2*x^4-2*x^3-2*x^2-x-2)/(x^17-x^16-x+1).
a(n+16) = a(n) + 25 for n > 3.
a(n) = A245230(max(n,5),min(n,5)).
EXAMPLE
For n=2 a set of edges that attains the maximum cardinality a(2)=2 is {(1,3),(1,4)}.
MAPLE
MATHEMATICA
a[n_] := Floor[25 n/16] - If[n == 1 || n == 3 || MemberQ[{2, 4, 9, 13, 15}, Mod[n, 16]], 1, 0];
Array[a, 100] (* Jean-François Alcover, Mar 27 2019, after Robert Israel *)
PROG
(PARI) a(n)=if(n>3, 25*n\16-bittest(41492, n%16), n-(n<2)) \\ Charles R Greathouse IV, May 21 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Robert Israel, Jul 14 2014
STATUS
approved
