A magic number is a number that'll divide evenly every number which ends in itself, for instance, 2 is magic because 2 divides into every number finishing in 2(2,12,22,102 etc). Find a rule to determine whether a number is magical.
I'll give medals for every attempt.
if you want a guess i would say 2, 5, or any power of 5 or 10?
lets start with easy ones. 2 works 5 works 10 works
You're getting hot satellite73.
25 works
Yes, now, try to factor what you found. See if patterns emerge.
so i looks like powers of 5 or powers of 2*5
Yes, getting better and better.
2^n * 5*n
Almost there james. The powers don't have to be necessarily the same.
2^n * 5^n i meant :)
well not exactly. 2^n5^n=10^n so not all
2^p * 5^q
maybe 2^n5^m
There you are. :)
that looks good to me
Now some sort of proof, doesn't have to be rigorous...
satellite did all the work for me...i just tried to capitalize on his work
^^
guess my guess was a good guess, even if i guess it was just a guess
must prove that 2^n * 5^n mod n = 0
Lol.
exactly like saying that if you divide by a such a number you get a terminating decimal
james: generalize the numbers, as in, finishing in 5 for instance works because if a number is abc...10 you can make it abc...00 + 10 which factors in 5 ( abc.... + 1).
finishing in 10 for instance I meant.
abc...10 = a * 10^p + b * 10^(p-1) + ... + 10 so if you divide that by 10, you get: a * 10^(p-1) + b * 10^(p-2) + ... + 1
Yes.
which is still an integer
Right. Now guys, expand the generalization to 2^n * 5^m.
(2^n * 5^m) = (abc...10) * (def...5) on the right track?
wait...it's (abc...2) * (def...5) ?
Yep. Kind of. Done. Do you want another challenge? :)
(abc...2) * (def...5) will be a huge ugly series, but the constant term will be 10, which is divisible by both 5 and 2
i am not very good at number theory! but that was an interesting problem :)
:) Glad you liked it. Shame satellite went to other stuff... Well, ok, here's a challenge, something not for now, but to think over and then come back ok? May I? :)
sure
If you tell a person to choose a number smaller than 60 (but positive), and then ask them to 1) divide it by 3 and tell you the remainder, 2) divide the remainder by 4 and tell you the remainder of that, 3) divide that remainder by 5 and tell the remainder of that. Then, the number choosen is 40 * the first remainder + 45 * the second remainder + 36 * the third remainder mod 60.
a perfect number is any number whose factors ...add up to itself right?
I don't know? :(
yes, that's a perfect number. ana described magic numbers.
perfect numbers = 6, 28 etc.
Ana, are we supposed to prove that?
Yes.
If you want to see more about it, see: "Chinese Remainder Theorem".
you must be a math professor. you are smart :)
No. I'm just a student. But I'll take the compliment. hehe. You're smart too.
Enter the chat.
Join our real-time social learning platform and learn together with your friends!