Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Divisibility rule
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====Case where the alternating sum of digits is used==== This method works for divisors that are factors of 10 + 1 = 11. Using 11 as an example, 11 divides 11 = 10 + 1. That means <math>10 \equiv -1 \pmod{11}</math>. For the higher powers of 10, they are congruent to 1 for even powers and congruent to β1 for odd powers: : <math>10^n \equiv (-1)^n \equiv \begin{cases} 1 & \text{if } n \text{ is even}, \\ -1 & \text{if } n \text{ is odd} \end{cases} \pmod{11}.</math> Like the previous case, we can substitute powers of 10 with congruent values: : <math>1000\cdot a + 100\cdot b + 10\cdot c + 1\cdot d \equiv (-1)a + (1)b + (-1)c + (1)d \pmod{11},</math> which is also the difference between the sum of digits at odd positions and the sum of digits at even positions.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)