Let N = 123123123... (300 digits). Find the remainder when N is divided by 504
\(\sum_{n=0}^{99}123\times 10^{3n} \mod 504\)
And 504= 3*2^3*23
504 = 7*8*9
Ok so we need find construction of 10^3n mod 504
Lol that was stupid xD
Ok there is a pattern 123+ 123(-8+64-8+64+...)
123+123(49*56)+123*-8. Mod 504
So we would have 123(1+2744-8) mod 504 123(1+224-8) mod 504 123*217 mod 504
I would say remainder is 483 Hope it's right calculating mentality frustrated me xD
I would like also to see fancy theorems or algorithms it would be fun
483 is correct! im actually looking for a more elementary method without using so much of number theory as this particular question was asked in one of the highschool level competitions..
I was looking for a way to combine the fact that \[504=7*8*9=n*(n+1)(n+2)=1n^3+3n^2+2n \text{ for n=7}\] into something that exploits that 1,3,2 to somehow do magical things to the 1,2,3 while avoiding touching the tempting geometric series.
Or maybe it's just a coincidence... haha... I sort of took that 504=7*8*9 to be almost a type of hint.
Ahh that might give some easy criterian for divisibility test for 7, not so sure, still thinking..
I think I got it.
thats a neat approach! let me see if i understand it correctly.. for n=5, im getting remainder =291 ? http://www.wolframalpha.com/input/?i=123*10%5E%283*%285-1%29%29+%2B+123123123123+mod+504
Oooh, oops. I hate my calculator.
this is easy with chinese remainder theorem i just don't understand why they give these problems in highschool level competitions
Sorry, I got everything wrong. That can never be zero.
Which competition?
this question is everywhere. i saw this for the first time on brainly last night, google gave me million+ results.. mostly from various competitions in india
but i couldn't find any satisficatory solution anywhere online
lol, brainly? seriously? D:
Haha thats the reason i need to dumb it down to highschool level, otherwise they are deleting my answers
That's foolish. If a method provides a legitimate solution, no matter how incomprehensible it is, it should be left there. Sounds like a dumb reason to delete answers.
Watching the hundred feet journey, I have some other methods though
`Reason Hi! I'm sorry but your answer lacks some vital details and therefore, it is being deleted. Please elaborate your answer further and repost it.`
please post after the movie ikram
i thought it was that easy thats why i used less NT hmmm other method is deleling with it as series
hmm no not interesting anymore.. i hate hight school anyway
dealing*
hmm
hey are you from brainly
yeah..
welcome! :)
thnks
what is brainly ?
seems i have account there :O since when XD
yes that site i think it forces you to create account to see answer to a problem
I see
Join our real-time social learning platform and learn together with your friends!