- 4,662
- 372
What is the rule of division by 23?
Thanks in advance.
Thanks in advance.
loop quantum gravity said:What is the rule of division by 23?
Thanks in advance.
loop quantum gravity said:Well another question of mine is how do you prove these division rules, do we know for every prime number the rule of division, or not?
loop quantum gravity said:Well another question of mine is how do you prove these division rules, do we know for every prime number the rule of division, or not?
robert Ihnot said:\sum_{k=0}^{m}a_{k}10^k=3n
Since 10 ==1 Mod3, so are all its powers.
loop quantum gravity said:I'm not sure I understand, I need to prove that it's divisible iff a_0+...+a_m is a multiple of 3.
What does the fact that the residue of 10 by 3 is 1 helps me here?
tiny-tim said:Because if a = b = 1 (mod3), then ab = 1 (mod 3) …
so 10n = 1 (mod3),
and ∑ an10n = ∑ an (mod3)![]()
jambaugh said:If you're looking at a last digit rule you need only consider:
If (p,10)=1 then
n = 10m + r = ap \equiv m \mp kr =bp
where k comes from a two digit multiple of p which is one away from a multiple of 10.
sp = 10k \pm 1
10bp = 10m \mp 10k r = 10m+ r \mp (10k\pm 1)r = n \mp (10k\pm 1)r = n \mp sbp
Thus
n = 10bp \pm sbp
jambaugh said:You could also generate rules from multiples of p more than one away from a multiple of 10 but these would require you multiply the remaining digits of the number n by that number which is harder.
CRGreathouse said:It's clear that numbers n appearing in the factorization of 9, 99, 999, ... have tests of the second sort, since 10^k = 1 (mod n), and so digits can be added in groups of k. So 11 has a divisibility test based on adding digits in pairs, for example.
…
My question: Are there other kinds of tests than those listed here (or equivalent to these)?
CRGreathouse said:[...]
Good point. I'm not sure that those sorts of rules would be practical compared to long division,though.
jambaugh said:Oh! You want practical!![]()