On a blackboard lies $50$ magnets in a line numbered from $1$ to $50$, with different magnets containing different numbers.  David walks up to the blackboard and rearranges the magnets into some arbitrary order.  He then writes underneath each pair of consecutive magnets the positive difference between the numbers on the magnets.  If the expected number of times he writes the number $1$ can be written in the form $\tfrac mn$ for relatively prime positive integers $m$ and $n$, compute $100m+n$.

[i] Proposed by David Altizio [/i]
1. **Identify the total number of pairs of consecutive magnets:**
   There are 50 magnets, so there are \(50 - 1 = 49\) pairs of consecutive magnets.

2. **Calculate the probability that any given pair of consecutive magnets has a difference of 1:**
   - There are 50 magnets, each with a unique number from 1 to 50.
   - The total number of ways to choose 2 magnets out of 50 is given by the binomial coefficient:
     \[
     \binom{50}{2} = \frac{50 \times 49}{2} = 1225
     \]
   - There are 49 pairs of consecutive numbers (e.g., (1,2), (2,3), ..., (49,50)).
   - The probability that any given pair of magnets has a difference of 1 is:
     \[
     \frac{49}{1225} = \frac{1}{25}
     \]

3. **Use the Linearity of Expectation to find the expected number of times the number 1 is written:**
   - Let \(X_i\) be an indicator random variable that is 1 if the \(i\)-th pair of consecutive magnets has a difference of 1, and 0 otherwise.
   - The expected value of \(X_i\) is:
     \[
     \mathbb{E}[X_i] = \frac{1}{25}
     \]
   - The total expected number of times the number 1 is written is the sum of the expected values of all 49 pairs:
     \[
     \mathbb{E}\left[\sum_{i=1}^{49} X_i\right] = \sum_{i=1}^{49} \mathbb{E}[X_i] = 49 \times \frac{1}{25} = \frac{49}{25}
     \]

4. **Express the expected value in the form \(\frac{m}{n}\) and compute \(100m + n\):**
   - The expected value \(\frac{49}{25}\) is already in the form \(\frac{m}{n}\) where \(m = 49\) and \(n = 25\).
   - Compute \(100m + n\):
     \[
     100m + n = 100 \times 49 + 25 = 4900 + 25 = 4925
     \]

The final answer is \(\boxed{4925}\)