document.write( "Question 1176885: If a simple, connected, graph has 20 vertices, what is the maximum number of edges it can have? (Recall that a simple graph does not have loops and does not have multiple / parallel edges)
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #850556 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "If a simple, connected, graph has 20 vertices, what is the maximum number of edges it can have?
\n" ); document.write( "(Recall that a simple graph does not have loops and does not have multiple / parallel edges)
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        The solution by  @CPhill is  \"highlight%28highlight%28FATALLY%29%29\",  \"highlight%28highlight%28TOTALLY%29%29\",  and  \"highlight%28highlight%28GLOBALLY%29%29\"  \"highlight%28highlight%28WRONG%29%29\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        It is incorrect,  because it includes great numbers of loops that are  PROHIBITED:  triangles, \r
\n" ); document.write( "\n" ); document.write( "        quadrilateral,  pentagons,  hexagons,  heptagons,  octagons,  9-gons,  10-gons,  etc. . . . until  20-gon.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        The correct solution is mine,  which follows below.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "DEFINITION:\r\n" );
document.write( "\r\n" );
document.write( "    A simple connected graph is a graph where there is a path between every pair of vertices, \r\n" );
document.write( "    and it does not contain any loops or multiple edges between the same pair of vertices. \r\n" );
document.write( "    In other words, it's a connected graph without any self-loops (edges that start and end \r\n" );
document.write( "    at the same vertex) or multiple edges connecting the same two vertices. \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Since there are 20 nodes in our problem, and each node should be connected with at least one of the others, \r\n" );
document.write( "the minimum number of edges is  19 = 20-1,  i.e., 19 connections.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "An example of such a graph is\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    *---*---*---*---*---*---*---*---*---*---*----*---*---*---*---*---*---*---*---*      ( <<<---=== 19 edges )\r\n" );
document.write( "    1   2   3   4   5   6   7   8   9   10   11  12  13  14  15  16  17  18  19  20\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "But having in any simple, connected graph of 20 nodes more than 19 edges means HAVING a LOOP.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So, the maximum possible number of edges in a 20-nodes simple, connected graph with no loops is \"highlight%28highlight%2819%29%29\".\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "------------------------\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I looked at the Google-AI solution to this problem.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Of 03/04/2025, this solution, which is under the link\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "https://www.google.com/search?q=If+a+simple%2C+connected%2C+graph+has+20+vertices%2C+what+is+the+maximum+number+of+edges+it+can+have%3F+(Recall+that+a+simple+graph+does+not+have+loops+and+does+not+have+multiple+%2F+parallel+edges)&rlz=1C1CHBF_enUS1071US1071&oq=If+a+simple%2C+connected%2C+graph+has+20+vertices%2C+what+is+the+maximum+number+of+edges+it+can+have%3F+(Recall+that+a+simple+graph+does+not+have+loops+and+does+not+have+multiple+%2F+parallel+edges)&gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBCTI4MTZqMGoxNagCCLACAfEFiTVLCcDSTMI&sourceid=chrome&ie=UTF-8\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "is incorrect, too.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The solution by @CPhill is a copy-paste of that incorrect Google-AI solution.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Surely, I reported to Google AI about their incorrect solution.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Hope it will help them to fix their artificial mind.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "                Regarding the post by @CPhill . . . \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Keep in mind that @CPhill is a pseudonym for the Google artificial intelligence.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The artificial intelligence is like a baby now. It is in the experimental stage
\n" ); document.write( "of development and can make mistakes and produce nonsense without any embarrassment.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "                It has no feeling of shame - it is shameless.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This time, again,  it made an error.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Although the @CPhill' solution are copy-paste  Google  AI solutions,  there is one essential difference.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Every time,  Google  AI  makes a note at the end of its solutions that  Google  AI  is experimental
\n" ); document.write( "and can make errors/mistakes.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "All @CPhill' solutions are copy-paste of  Google  AI  solutions, with one difference:
\n" ); document.write( "@PChill never makes this notice and never says that his solutions are copy-past that of Google.
\n" ); document.write( "So, he NEVER SAYS TRUTH.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Every time,  @CPhill embarrassed to tell the truth.\r
\n" ); document.write( "\n" ); document.write( "But I am not embarrassing to tell the truth,  as it is my duty at this forum.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "And the last my comment.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "When you obtain such posts from @CPhill,  remember,  that  NOBODY  is responsible for their correctness,
\n" ); document.write( "until the specialists and experts will check and confirm their correctness.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Without it,  their reliability is  ZERO and their creadability is  ZERO,  too.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );