Ada and Charles play the following game:at the beginning, an integer n>1 is written on the blackboard.In turn, Ada and Charles remove the number k that they find on the blackboard.In turn Ad and Charles remove the number k that they find on the blackboard and they replace it :
1 -either with a positive divisor k different from 1 and k
2- or with k+1
At the beginning each players have a thousand points each.When a player choses move 1, he/she gains one point;when a player choses move 2, he/she loses one point.The game ends when one of the tho players is left with zero points and this player loses the game.Ada moves first.For what values Chares has a winning strategy?
To determine for which values Charles has a winning strategy, we need to analyze the game and the possible moves. Let's break down the problem step by step.

1. **Initial Setup and Rules:**
   - Ada and Charles start with 1000 points each.
   - Ada moves first.
   - On each turn, a player can either:
     1. Replace the number \( k \) on the board with a positive divisor of \( k \) different from 1 and \( k \), gaining 1 point.
     2. Replace the number \( k \) on the board with \( k+1 \), losing 1 point.
   - The game ends when a player has zero points, and that player loses.

2. **Analyzing Small Numbers:**
   - If \( n = 2 \), Ada can only move to \( 3 \) (since 1 is not allowed), losing 1 point. Charles then moves to \( 4 \), gaining 1 point. This cycle continues, and Ada will eventually lose all her points first.
   - If \( n = 3 \), Ada can move to \( 4 \) (losing 1 point) or to \( 2 \) (gaining 1 point). If Ada moves to \( 4 \), Charles can move to \( 5 \) (losing 1 point), and the cycle continues. If Ada moves to \( 2 \), Charles can move to \( 3 \), and the cycle continues.

3. **General Strategy:**
   - Numbers like \( 2, 4, 8 \) are winning positions for the first player because they can force the second player into a losing cycle.
   - Numbers like \( 3, 5 \) are losing positions for the first player because they force the first player into a cycle where they lose points faster.

4. **Prime Numbers:**
   - For prime numbers \( p \), if \( p \) is a winning position, then \( 2p \) is a losing position. This is because if \( p \) is winning, then \( 2p + 1 \) is divisible by 3, making it a winning position.
   - The primes \( 7 \) and \( 13 \) are special cases where the first player can force a win by moving to \( 8 \) or \( 14 \), respectively.

5. **Composite Numbers:**
   - Composite numbers that are not of the form \( 26, 14, 8, 49, 169, 91 \) are generally winning positions for the first player because they can force the second player into a losing cycle.

6. **Conclusion:**
   - Charles has a winning strategy for all primes except \( 2, 7, 13 \) and for the numbers \( 8, 14, 26, 49, 91, 169 \).

The final answer is Charles wins for all primes except \( \boxed{ 2, 7, 13 } \) and for \( 8, 14, 26, 49, 91, 169 \).