Remainder Fact For Number 9
“9 is special magic number in case of finding remainder.”
Because if you want to find remainder of any number when divided by 9, just add the digits and keep on adding digits till we get a single digit. It will return the rem.
If returns 9, it means rem is 0.
Number is 123456789/9 find rem.
So add digit, its n(n+1)/2 = (9*10)/2 = 45
Since obtained digit is not a single digit, so again sum the digit that obtained in previous step.
So, again sum of digit = 4+5 = 9
So rem is 0.
1112223334/9 find rem.
Sum, 1+1+1+2+2+2+3+3+3+4 = 22
Again sum 2+2 = 4
So remainder is 4
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses
are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!