Problem

Source: 2023 Israel TST Test 1 P1

Tags: TST, combinatorics, pentagon



A real number is written next to each vertex of a regular pentagon. All five numbers are different. A triple of vertices is called successful if they form an isosceles triangle for which the number written on the top vertex is either larger than both numbers written on the base vertices, or smaller than both. Find the maximum possible number of successful triples.