The Denver Nuggets’ streak lives on thanks to some luck and pluck.

Corey Brewer sank three free throws with 2.1 seconds left and the Denver Nuggets stretched their franchise-best winning streak to 14 games with a 101-100 thriller over the Philadelphia 76ers on Thursday night.

Anthony Randolph blocked Damien Wilkins’ desperation jumper at the buzzer to secure Denver’s 16th straight win at the Pepsi Center – and its most unlikely.

The Nuggets, overlooked in the great surge by the Miami Heat, trailed by five as the clock ticked below 10 seconds.

Brewer sank a 3-pointer with 9.2 seconds left that made it 100-98. He fouled Evan Turner with 7.1 seconds left and Turner, a 75 percent free-throw shooter, missed both of his foul shots, the first one bouncing out and the second one slowly rimming out.

“It’s crazy. To be honest, I didn’t think we had any chance of winning,” Brewer said. “Then he missed those free throws and I was like, “OK, we’ve got a little chance.’ He gave us life.”

After a timeout, Anthony Miller inbounded to Danilo Gallinari, who handed it off to Brewer, who quickly fired up a 3-pointer as Wilkins slapped him on his left arm, drawing the whistle with 2.1 seconds left.

“I saw him coming and I just tried to get it off quick. He hit my arm, luckily, so I’ll take the foul,” said Brewer, who finished with 29 points.

Brewer took a deep breath and sank the first shot.

“I was just trying to be calm. I knew I needed to make two out of three and once I made the first one, a little pressure’s off,” Brewer said.

He hit his second, then took a step back while JaVale McGee returned to the game. Once McGee was in place for a possible rebound, Brewer swished his third free throw.

After a timeout, Randolph blocked Wilkins, who finished with 24 points, and win No. 14 was theirs.

“There’s no one to point the finger at,” Turner said. “We played hard the whole game, whatever could go wrong did go wrong.”

The Nuggets haven’t lost at home since Jan. 14 against Washington and they’re in the midst of their longest winning streak since joining the NBA in 1976, a streak that survived despite an uncharacteristic 20 turnovers.

Even though Miller scored a season-high 21 points, the Nuggets sorely missed Ty Lawson (right heel) and Wilson Chandler (left shoulder), both of whom were hurt in Denver’s signature win at Oklahoma City Tuesday night.

They nearly lost to the NBA’s lowest scoring team, one that owns just six road wins, tied for the fewest in the league this season.