Two different numbers: gain versus total change
Get this straight before you build a pacing plan. For the 100 mile, elevation GAIN is 17,350 feet, the total climbing over 102.9 miles. Elevation LOSS is also 17,350 feet. Add them together and the race's own materials list a separate figure, 34,700 feet of total elevation CHANGE, meaning every climb and descent combined. The 50 mile scales down proportionally: 7,950 feet of gain, 7,950 of loss, 15,900 of total change. Neither figure alone tells the whole story, so use gain for your climbing legs and total change for how beat up your legs will feel by the finish.