BLOOMINGTON, IND. — Just about everyone, including Barack Obama, agrees these last few weeks have been tough ones.
He missed a chance to close out the Democratic presidential nominating fight by losing Ohio to rival Hillary Rodham Clinton, then lost again in Pennsylvania. His big lead over Clinton in national polls disappeared.
Worse, the Rev. Jeremiah A. Wright Jr. -- Obama's longtime pastor -- resurfaced, spitting fire during a National Press Club appearance. The Illinois senator was badly burned in the process.
Yet for all that, Obama remains a strong favorite to win the nomination. The simple reason is mathematics: His lead among elected delegates makes it virtually impossible for Clinton to win without having the nomination handed to her by party insiders, the so-called superdelegates.
"We have demographic gridlock, and we have rules that make it very difficult to catch up when you're behind," said Bill Carrick, a neutral Democratic strategist, referring to the candidates' distinct appeal to separate constituencies and the proportional way Democrats award their delegates. "It all conspires to make a very rigid, inflexible process."
Which does not mean the contest is likely to end soon.
The next test comes Tuesday, when Indiana and North Carolina hold their primaries. Barring the unexpected -- a blowout in either state, or twin victories by either Obama or Clinton -- the probable outcome is a continued stalemate.
That would give each candidate incentive to keep running at least until June 3, the last day of the primary season: Obama because of his seemingly insurmountable lead in nominating delegates and the popular vote, and Clinton because of doubts sown in recent weeks about Obama's general-election viability.
"As long as he wins where he's supposed to win, and she wins where she's supposed to win, the nature of the race is fundamentally unchanged," said Ben Tulchin, a Democratic pollster watching the race from the sidelines. "And so it continues."
But as the election season grinds toward a close, the pressure on Clinton to change the dynamic of the contest has grown more pronounced. Nearly 90% of the pledged delegates have been chosen. Even if she wins all the remaining primaries in a landslide, the New York senator would still need to corral an overwhelming proportion of the party's undeclared superdelegates -- the party leaders and others with an automatic vote at the Democratic convention -- to seize the nomination.
The latest count by the Associated Press showed Obama with 1742.5 delegates to Clinton's 1,607.5. It takes 2,024 delegates to clinch the nomination at the Democratic National Convention in August. Among superdelegates, Clinton's once-dominant lead has been winnowed to less than two dozen.
There is little reason, however, for the former first lady to quit, as long as she continues to win and Obama struggles, as he has since his allegiance to the incendiary Wright became an issue.
The senator broke with his ex-pastor after Monday's National Press Club speech, but Clinton supporters cited the episode as justification for her continued candidacy.
"It raised the question of experience," said Jerome W. Mondesire, president of the Philadelphia NAACP and a pledged Clinton delegate. If Obama cannot handle a "whack-a-doodle like Wright, how is he going to handle a crazy head of a government with a nuclear weapon?" Mondesire asked. "That's far more dangerous than a Jeremiah Wright."
But the controversy may have helped Obama to a degree. If his nomination is inevitable, the thinking seems to go, better to end the fight before too much more damage is done. That may explain the latest batch of superdelegates who have jumped off the fence to support Obama.
"I'm concerned about this thing being dragged out," said Rep. Baron P. Hill, the congressman here in Bloomington who endorsed Obama on Wednesday. "The more people like myself who come out, hopefully that will help the process along in terms of bringing closure."
For all the gyrations -- about Wright, about whether people in small towns are "bitter," about Clinton's erroneous claim that she came under sniper fire in Bosnia -- voters have scarcely wavered in their sentiments. The results have been dictated more by states' demographic makeup than any swings in loyalty.
Obama has consistently claimed the allegiance of young voters, African Americans and voters who are better educated and wealthier. Clinton has equally strong backing from women, less-educated voters and the economically hard-pressed. In states where Obama's demographic groups hold sway, he wins. Where Clinton's do, she wins.
If the pattern holds, that makes Obama the favorite to win North Carolina and gives Clinton the edge in Indiana.
The two campaigned across the states Saturday -- Obama in Indiana, Clinton in North Carolina and later Indiana -- continuing their squabble over a proposed federal gas tax "holiday."