Only a p&p solution requested.
Bonus: What would be the answer, if one of N"s digits were exempted from being its divider?
blackjack
flooble's webmaster puzzle