Devise an algorithm that determines whether a given positive integer N is divisible by 13, and if NOT, to find the remainder.
N can contain up to 20,220 digits.
Note: Simply dividing by 13 or, performing long division by 13 is NOT permissible.
<table border="0" cellpadding="0" cellspacing="0" width="131" style="border-collapse:
collapse;width:98pt"><tbody><tr height="20" style="height:15.0pt">
<td height="20" width="131" style="height:15.0pt;width:98pt">Looking to download
<a
href="
https://testbanks22.com/p/test-bank-for-social-studies-for-the-elementary-and-middle-grades-a-constructivist-approach-4th-edition/">Test
Bank For Social Studies For The Elementary And Middle Grades A Constructivist
Approach 4th Edition</a> instantly? Search no further and click to
download now.</td></tr></tbody></table>