A football tournament is played between 5 teams, each two of which playing exactly one match. 5 points are awarded for a victory and 0 – for a loss. In case of a draw 1 point is awarded to both teams, if no goals are scored, and 2 – if they have scored any. In the final ranking the five teams had points that were 5 consecutive numbers. Determine the least number of goals that could be scored in the tournament.
1. **Define Variables and Total Points:**
   Denote \( T_k \) as the team placed in the \( k \)-th place and \( p_k \) as the number of points of this team, where \( k \in \{1, 2, 3, 4, 5\} \). Let \( P \) be the total number of points awarded to the five teams. Since \( p_k \) are consecutive numbers, we have:
   \[
   P = 5p_3
   \]
   This condition is necessary but not sufficient.

2. **Calculate Total Matches:**
   The teams play \( \binom{5}{2} = 10 \) matches. Denote \( a \) as the number of matches which end with the victory of one of the teams, \( b \) as the number of draws with goals, and \( c \) as the number of draws without goals. Thus, we have:
   \[
   a + b + c = 10
   \]

3. **Points Distribution:**
   - In a match with a victory, the two teams obtain together \( 5 \) points.
   - In a draw with goals, the two teams obtain together \( 4 \) points.
   - In a draw without goals, the two teams obtain together \( 2 \) points.
   
   Therefore, the total number of points is:
   \[
   P = 5a + 4b + 2c
   \]
   Given \( P = 5p_3 \), we have:
   \[
   5a + 4b + 2c = 5p_3 \implies 5 \mid (2b + c)
   \]

4. **Goals Calculation:**
   - If a match ends with a victory, at least \( 1 \) goal is scored (score \( 1-0 \)).
   - In the case of a draw with goals, at least \( 2 \) goals are scored (score \( 1-1 \)).
   
   Hence, the least number of goals scored in the tournament is:
   \[
   G = a + 2b
   \]

5. **Possible Configurations:**
   We need to determine the possible values of \( b \) and \( c \) such that \( b + c \leq 10 \) and \( 5 \mid (2b + c) \). Automatically, the values of \( a = 10 - b - c \) and \( G = a + 2b \) result. The possible configurations of types of matches and minimum number of goals \((a, b, c, G)\) are:
   \[
   (10, 0, 0, 10), (5, 0, 5, 5), (0, 0, 10, 0), (6, 1, 3, 8), (1, 1, 8, 3), (7, 2, 1, 11), (2, 2, 6, 6), (3, 3, 4, 9), (4, 4, 2, 12), (5, 5, 0, 15), (0, 5, 5, 10), (1, 6, 3, 13), (2, 7, 1, 16)
   \]

6. **Evaluate Configurations:**
   - **Configuration \((0, 0, 10, 0)\):**
     Each team obtains \( 4 \) points, hence \( p_k \) are not consecutive numbers.
   
   - **Configuration \((1, 1, 8, 3)\):**
     Results: \( P = 25 \), \( p_1 = 7 \), \( p_2 = 6 \), \( p_3 = 5 \), \( p_4 = 4 \), \( p_5 = 3 \).
     Each team plays \( 4 \) matches. One of the teams \( T_1, T_2, T_3 \) obtains the single victory and this team doesn't lose any match. Results for this team \( p_k \geq 5 + 1 + 1 + 1 = 8 > 7 = p_1 \), contradiction. Hence, this configuration is not possible.
   
   - **Configuration \((5, 0, 5, 5)\):**
     Results: \( P = 35 \), \( p_1 = 9 \), \( p_2 = 8 \), \( p_3 = 7 \), \( p_4 = 6 \), \( p_5 = 5 \).
     But \( T_1 \) cannot obtain \( 9 \) points only from victories and draws without goals (for \( 2 \) victories: \( p_1 \geq 2 \cdot 5 = 10 > 9 \); for \( 1 \) victory: \( p_1 \leq 5 + 1 + 1 + 1 = 8 < 9 \)).
   
   - **Configuration \((2, 2, 6, 6)\):**
     Results: \( P = 30 \), \( p_1 = 8 \), \( p_2 = 7 \), \( p_3 = 6 \), \( p_4 = 5 \), \( p_5 = 4 \).
     Exists a configuration which satisfies the conditions:
     We associate to each team the configuration (wins, draws with goals, draws without goals, losses): \( T_1: (1, 0, 3, 0) \); \( T_2: (1, 0, 2, 1) \); \( T_3: (0, 2, 2, 0) \); \( T_4: (0, 1, 3, 0) \); \( T_5: (0, 1, 2, 1) \).
     In this case, we obtain the minimum number of goals scored in the tournament:
     \[
     G = a + 2b = 2 + 2 \cdot 2 = 6
     \]
     The scores for which we obtain this minimum are: \( T_1:T_2 \; 1-0 \); \( T_1:T_3 \; 0-0 \); \( T_1:T_4 \; 0-0 \); \( T_1:T_5 \; 0-0 \); \( T_2:T_3 \; 0-0 \); \( T_2:T_4 \; 0-0 \); \( T_2:T_5 \; 1-0 \); \( T_3:T_4 \; 1-1 \); \( T_3:T_5 \; 1-1 \); \( T_4:T_5 \; 0-0 \).

The final answer is \(\boxed{6}\).