Norway Math Olympiad Question | You should be able to solve this!
HTML-код
- Опубликовано: 30 сен 2024
- Some of the most important benefits of participating in math Olympiads include: Improving Problem-Solving Skills: Math Olympiads involve solving complex and challenging math problems. This helps students develop critical thinking and problem-solving skills, which are important for success in many fields.
Much simpler to just calculate 2^18 first, then minus 1. I don't see why 511*513 is any easier to calculate than 512*512.
It's far much easier to use the fact that 2^17 is 131072 (address of start of screen memory in a Sinclair QL), double it and subtract 1...
Exactly what i was thinking 😊
How are you going to calculate 2^18 though?
@@The_Real_Sensei
A well known value is 2^16 = 65536.
Or more inaccurately, it is well known to those of us who played with 8 bit micros, where 65536 = 64 old kb which is the maximum amount of memory an 8 bit processor with a 16 bit address bus (eg 6502, 6800, Z80, 8080) could access (directly).
@@The_Real_Sensei
Last night we were catching up on an Only Connect episode from 5 or 6 weeks ago. One sequence question was:
What comes 4th in the sequence: 65536256, 25616, 164
The answer was 42 as each "number" is made up of a number and its square root, the square root of one starting the next.
The first "number" 65536256 is 65536 (2^16) = 256^2 ((2^8)^2).
The correct answer, in binary, is: 111111111111111111.
Thats big brain move
This is wrong answer
Mukundsir
No specific easy answer.
Antora islam riya
Yeah I thought this is what the answer was gonna be when I saw the thumbnail - it’s a super boring problem if it’s just base 10
I literally multiplied 2 by itself 18 times and found the answer faster than her 💀💀
They probably wanted to see how you got to the solution. Just by multiplying 2 by 18 times is not enough for an actual solution.
@@boldibrown8533it is exactly the solution. Unless they stated that you needed to use something specific. Computing it is a way to solve
@@boldibrown8533 hahahaha. What? Sucessive multiplication is a solution just fine. Stop talking silly things.
@@samueldeandrade8535 the thing is, in an exam, its completely impractical. You don't time to waste. yes i might use it as a last resort but doing this method is much faster.
@@huntbat man, some people are very fast with multiplications. Also, calculating 2¹⁸-1 shouldn't even be in a test.
Just wanted to share a different approach:
2^18 - 1 = 2^10 x 2^2 x 2^6 - 1 = 1024 x 4 x 64 - 1 = 4096 x 64 = 262 144 - 1 = 262 143
@bangel7513no!!
or just 2^9*2^9-1=512x512-1 :P
@@makalaga56Yes, that’s more straightforward and even easier to calculate than 513x511.
Fuck dis shit
@bangel7513 only typo
This cannot possibly be a math Olympiad question. This is way too easy.
It's Math in Norway - not in China or USA or Russia. Their approach is like - "choose the only topics in science you want to learn because we think about you mental health in childhood". Study in China or Russia: "Ok, it's 23:00 pm - you can go to sleep for 3 hours. We will continue tomorrow at 5pm. That's why these counties win Olympiads 😂
@@cppdeveloper yeah true, in my country, they teach us unnecessary subjects
2 to the 18th is 2 to the 16th times 4 (or 2 squared). Anyone with a computer brain knows 2 to the 16th is 65536 (good old computer memory and bits). So times 4 is 262144, subtract 1 = 262143. Everyone should be able to do this in the modern world in their head.
Wrong! You wrote a stupid comment. Everyone should *not* able to do this in the modern world in their head! The large majority should not be able to do it. Get educated about people and don't make foolish posts such as this.
I'm an software engineer and I still don't remember all the powers of two from the top of my head nor should I have to...
@@theyassinez1 Heresy! Blasphemer! Could not resist lol. I am old school, even know how to use a slide rule lol. It's amazing sometimes describing to some kids these days how the 8 bits are used in all the ASCII font tables. I love flipping a set of text into Ascii on them when they can't find an error and point out how that spot is not a 40 hence it's not a space, it's something else that merely displays as space like which is causing the data issue. They never think of that. They are so visual these days so dependent on all the code we wrote in the past to do everything for them. Sigh.
Agreed, however the idea is to be able to follow a process more than just express a result, I think.
@@theyassinez1As a software engineer you should know 2 to the 16 because it’s the size of a short.
Is there a reason why we would know what 2^9 is and not know what 2^18 is? That is really the essence of this problem.
Yes 2 to the 9 you can do in your head
@@davidbornstein9197 You are right. But than the essence of this problem is brute calculation. There is nothing elegant about it. Besides, the power to which a person can calculate an exponent is subjective. Mathematic solutions are most powerful when the method minimize or completely remove the need for brute force calculations.
U r right. It is very simple. 512 x 512 - 1 = 2,62,143
Simply do: 512 x 512 - 1 = 2,62,143
What is the point in beating around the bush?
You're in the internet land. You should know all the powers of 2, up until 10. Because 1024 is an important round number in the world of computer science. :-)
1:02 "As we know, 2 to the power of 9 is equal to 512" fym we know I don't know are we supposed to???? Anyways serious commendments for having that knowledge
P.S. Dang with the method I used, I got 262655 I wonder where I went wrong (didn't write it down on paper I just used my keyboard to type it out and delete as I went)
As a computer enthusiast I remember powers of 2 up to 2^16 at least which is 65536. Then I multiply it by 4 and subtract 1.
So I am not the only one. 🙂
Excellent! My math brain told me 2^10 = 1024, then multiply by 256 and subtract one. Easy.
Same initial reasoning... But then 2^9 is like the max byte size times two which is 512, square that and subtract 1. Rather easy.
@@chrisw4562 that's what I did as well
Yes, if you remember 2^16 = 65536 then multiply by 4 and subtract 1 is quicker than the method in the video.
Children of the 8 bit era certainly know all the powers of 2 up to 16; So if you already know that 2^16 is 65536 you may as well go for the direct route. Either double it twice, or multiple by 4 (which ever you find easiest) and subtract 1.
@@vdamkyна 2 просто умножить...
@@vdamky
Technically we actually move the digits through the place value columns left (multiply) or right (divide). However, on paper it is easier to move the _decimal point_ than to shift the digits as we implicitly know the place value columns and it is the decimal point that is visible[1] which tells us where the place value columns apply to the number.
[1] If the decimal point is not visible (as the number is an integer) then it is taken to be after the last digit which is in the units place value column.
even starting from only 8bit 256 it takes shorter time, that was spent in the video
I'm one of them C64's 6502 assembler's magic limit was 65535 or 0xFFFF (next number 2^16).
65536*4-1
That's how I did it Paul!
Prefiro multiplicar 512 por 512 e subtrair da unidade
Em duas linhas o problema é resolvido
Ué... não dá mais de 2 linhas amigo? 4 se não me engano
@@editorx2023 Sim, dá mais de 2 linhas, mas é muito mais rápido que a solução do vídeo. Dá pra fazer em menos de 1 minuto
Eu fiz 17 contas, mas multiplicar por 2 é muito fácil e rápido, saiu bem mais rápido do que no vídeo, e de certa forma meus neurônios ainda estão intactos
@@evandroa4845 inacreditível
I do not see how this is more simple than 512x512-1. We all know 2^16=65536, so double it twice in a row and substract 1. More over 513x511 is quite obvious, 1x513 is obvious and everybody knows 13x5=65
This is how we make an easy mathematics question into a complicated one
as a programmer, I have remembered many 2^x values without calculating them, for example, 2^24 is 16777216 and 2^16 is 65536. Oh yes, 2^18 is 262144, so if it is minused by 1😊
Since there are many similar problems, most people probably know how to calculate them easily without making mistakes. You need not stick to the factorization formula. There are also concrete examples in this comment section. As a solution method, (1) decompose them into round numbers. That is, 2¹⁰ =1024=1000+24, 2⁹ =512=500+12, 2⁸ =256=250+6. (2) subtraction should be avoided, and addition should not carry over (no overlap of the same digits). It is unavoidable that there is a single overlap in this problem.
Duh, it's 111 111 111 111 111 111. Hey, you didn't specify the number base.
This is where I learn my maths...
This is click bait or padding on the back making you believe that you can understand an Olympiad problem. Seriously a square minus b square is 6th grade regular curriculum.
We could just do 513x511 and it would be done so much faster ;-;
I'd better do (2⁹)² - 1 = 512² - 1 = 262144 - 1 = 262144
The rest is not necessary.
I have more options which is easier and faster than her. She is using longest and complecated method.🙁
This one is hilarious. When I saw it I thought, surely you just solve it using arithmetic? But hey if there's a trick to working with exponents of 2 I've love to know it. No - you go through a convoluted process which gets you nowhere, then just solve using arithmetic anyway.
THANKS FOR NICE SHARING
🥰
With the base numberof 2, it is easy to double the first at least10 - 12 times. And with pen and paper, you have no problem reaching 18. This is easily grinded out without fancy math shortcuts :)
U know what 2 to the power 6 =64 and now find 64 to the power 3 and subtract 1.
Easy....
we might know 2^18 = 2^(6*3) as being the number of RGB colors you can encode when each Red, Green, Blue color component has 6bits resolution (64 levels) and that number is 262144 ... at least people should know 2^10 = 1024 and 2^16 = 65536 ;)
Pragmatic reasoning.
65537 is 2^16+1 is well know prime number.
De tête, la réponse est : 111 111 111 111 111 111 (en base 2). Beaucoup plus simple 😅
It's a lot easier to solve if you just know your powers of 2 up to 18, as any decent computer programmer does.
My point exactly
Programmers who developed on the PDP-10 which had a 36 bit processor would know that 2^18 is 262144, 1000000 octal and 40000 hex. Especially useful when doing some register arithmetic on the left and right halves of the register in your head. I used to have to do that a lot at CompuServe in the 90's.
@@beragis3
I guess you were au fait with 6-bit (sixbit) encoding which allowed 6 characters in a 36 bit word?
@@cigmorfil4101Yep 6 bit, 7 bit, 8 bit and 9 bit characters
Even if you don’t know them by heart… working out a power table for two is easy and I doubt they mark off for showing work.
Why all the complicated brackets and splitting, adding, subtracting, changing powers? I don't understand any of it. Why doesn't she just go 2*2 18 times and the take one away? I got the answer that way by about 90 seconds and just needed my fingers to keep track of the multiples and my head to multiply by 2. Why make it so hard?
I love Math, I love your channel and I love you. Many blessings for you, from the heart of God. ❤
❤️🥰
Did not know God had a physical beating heart.
God is widely advertised as being beyond time and space.
@@MyOneFiftiethOfADollar In your conception of God, he doesn't has a heart. And your belief shall be respected.
In my conception (Gospel), Yeshua is the image of the invisible God and Yeshua has a heart, hence God has a heart. This is my belief and shall be respected.
Also, this is a Math channel, better not talk about such things. (Blessing people is a common thing, to talk about god in a Math channel not.).
If you remeber that 2^10=1024, 2^18 = 1024x1024/4. The division first will bring ...6 (divide 24 only by 4), then 6 multiplied by 1024 will bring 4 as the last digit. Can be done in the head like 5 seconds.
In 2^n, for n = 1, unit place digit is 2
For n = 2, unit palce is 4
For n = 3, unit place is 8
For n = 4, unit place is 6
This cycle of 2, 4, 8, 6 will repeat for every power of form 4m+1, 4m+2, 4m+3, 4m+4.
So if n = 18 it is of form 4m+2 so units place is 4, and subtracting 1 from it will give 3.
Hey.
Just take the tenth power of 2 i.e. 1024, multiply it by itself, and divide the result by 4.... subtract 1 from the resulting value to get 262143
❤
Well ... first question should be, what kind of result is expected. Because 2^18-1 is pretty nice. 11111..11 binary is also good.
It seems, that normal writing multiplying 513*511 is also trivial.
And if I use pretty known fact, that 2^16=65536 ?
Two addition and almost done.
262,143. I just doubled 2 seventeen times then subtracted 1. Did it in my head.
U make it more harder than normal solution 😂😂
Как то очень примитивная задача, это для какого возраста? Тем более что сейчас многие знают что 10**8 = 256 или что 10**10 = 1024. Поэтому можно просто в лоб 1024*256-1
It took me awhile, but I finally realized that this was quite an easy problem, and I thought that I might be able to do it in my head by simply doubling 18 times. Well, I didn't get that far on my first three attempts. but I now know that I can do it...eventually. How far did I get? Thirteen or fourteen times, but that was good enough for me. I now know that I can solve the problem in my head if I try long enough.
Already we knew 2 power of 9 is 512..then 512* 512 is 262144..finally subtract 1 then we will get 262143
lol in India, we use an identity to do 511*513, it's basically, (x+a)(x+b)=x^2+(a+b)x+ab
this eases out the calculation
so you can do (500+11)(500+13)
500^2+ (11+13)500+ (11)(13)
very easy calculations, you can do them in mind
250,000 + 24*500 + 143
= 250,000+12,000+143
=262,143
(we also have a trick to multiply numbers with 11 and rest of the calculations were pretty simple).
how is the trick of multiplying with 11?
if you have to multiply 11 with 13 just write the first and last digit as it is, that is 1_3, now the middle digit is going to be the sum of the first and last digit, that is, 1 and 3, we know 1+3=4, so 143 is the ans to 11*13. It's a very easy trick, you can solve such problems instantly in seconds@@pacogutierrez2484
This solution method is like using a chainsaw to cut bread...
Experts in computer hardware in 1990s to early 2000s should know 2^18=262,144 that's the amount of 256MB memory in KB that would show up during start up of a computer of Pentium II/III or Athlon era.
it's 256 kiB or 262.144 kB.
Now, to chunk it in head, multiply (1000 x 256) + (2 x 10 x 256) + (4 x 256) - 1 If you practice chunking, you can do complex math REALLY fast in your head. You’ll also start to be able to memorize really long strings of numbers…like pi! As a math teacher, my students are often dazzled by this; it’s really VERY easy!
elegant but Id rather just calculate 2^18 and then -1
at most, do 512x512 -1
Thanks, but It isnt olimpic way to do It. The better way I Saw the resolution is:
2^18 = 2*9 * 2*9 = 512*512 = (500+12)(500+12) = 500² + 2*12*500 + 12² = 250.000 + 12.000 + 144. Subtracting -1, we have 262.143 without a lot of multiplications
Some nice tricks, but what about, in this case, just calculating the thing? 2^18 = 2^10*2^8=1024*256=256000 + 24*256. The latter is 25*2^8-256=100*2^6-256=6144. So we get 262144; subtract one and you get 262143, with the "25 and we can make that 100, it's a power of 2" happening in one's head (if you don't get that, you can also easily calculate 1024*256 simply on paper).
You would, of course, know the first 10 powers of 2 by heart (they teach that in school, just like the first 20 squares)... but then the solution represented also relies on the fact that you now 2^9=512 by heart.
But then, squeezing in a binomian formular was rather beautiful. (I do mean that.)
She has been trying to find the result of the 513*511 operation for exactly 2 minutes since 1:17 seconds of the video. If she writes these two numbers one under the other and multiplies them, she can get the result in 20 seconds.
i just love how apparently 2 to the ninth power is common knowledge.
I don't know about common knowledge, but you can probably count it on your fingers in less than 5 seconds.
2^10 is pretty common knowledge (it is how many bytes are in a kilobyte), so dividing that by 2 is pretty easy
Wouldn’t it be easier to multiply 512*512 using grade school math and subtract 1?
Am I the only person that just did the math in my head and calculated the same result? I understand the method behind that, but you can easily just calculate the result in less than 1 minute.
Did you just 512*512?
I did ut in my head too; I'm a programmer 😊
Why cant be 512 * 512 - 1?
maths which is the only thing can be done by various methods ❤
Time to get a girlfriend
@@delanym already have !! 🫠
rly stupid solution in XXI century. It's almost well know fact that 2^16 is 65536 (256*256) and this you need only multiply by 4 and minus 1 at the end.
Very helpful
See if you play 2048 you’ll already have all powers of 2 memorized up until 2^11, so just take 2^9 as 512, square it, and subtract 1
How many people did not understand the beauty of the presented solution! 😢 Thank you for what you are doing! That was pure mind pleasure! ❤
I did not understand. 2^18=262144 is not less known fact, that 2^9=512
I do not understand beauty of writing (512+1) and then explain that it is 513 verbally. Thanks God she did not come with a substitute formula for that.
Instead of going for FOIl 1:43 method.. just multiply 513*511 = 262143
Зная степени двойки(а в Российских школах дети это знают, так же как и таблицу умножения) вычислить этот можно за минуту. 2^10*2^8 - 1= 1024*256 - 1= 262143. Привет из России!
Даже не зная степени двойки, проще на 2 умножить 18 раз
Идиот😂
Explain something to me. How people with such abilities, educated, can support invasion on a neighbouring country? Or wait, maybe it doesn't matter how well one's educated in math... Regards from Poland.
@@rafakrasicki914 are you asking me?
можно еще сложить 2 + 2^2 + 2^3 + ... + 2^17, это гораздо математичней
Answer is 3FFFF (in hexadecimal) 🤭
It is surprising that back in the 80-90s of the last century, almost all schoolchildren (at least in my country) in grades 6-7 were able to multiply 513 by 511 without a calculator and expansion. I think that in 20 years, schoolchildren will not be able to even multiply 500 by 500 without gadgets.
i don't think that you are good at analyzing.
I think you must have written your comment back in 2000...
In my country, most kids in high school can't solve this.
30 seconds, 6 lines and 6 columns of digits, it's all this calculus takes yet the number of children/students who can't make it as simply as that is exponentiating, so I'm afraid your conclusion is right.
yes that's true ....easily multiplied
2^20 is 1048576 , then divide by 4 and subtract one...
You can simply do a difference of squares : 2^18 - 1 = (2^9 + 1) (2^9 - 1) = 513 X 511 = 262 143.
Though there are many ways to arrive at a solution, this one really beat around the bush lol
A very nice solution! Thanks.
1:23 you are done. Every fifth grader can do a multiplication on paper, come on.
I wish you were my maths teacher when I was little! I would have definitely developed interest on Maths. You make the problems look so easy.
1024×256 -1 . I'll calculate this quicker then the slow method in video.
Mam... It is difficult to understand.please explain easily.
She only needs to put = under = and not bring a and b into it
Which part you did not understand?
Wow...all this, instead of saying that 18=3x6. Then 2^18 = (2^6)^3 = 64^3
If this was really an Olympiad question, the level is decaying... 😅
Any old school computer scientist can answer it without by without even drawing on paper. 2^18 is close to 2^16, which is the limit of array size in an 16 bit OS. So its just 4x65536 - 1.
I doubt "old school computer scientists" participate in math olympiad :)
I just simplified in my head to 512^2 - 1. Pretty easy to multiply 512 x 512 on paper and subtract 1.
a^2 - b^2. But the -1 was not squared. 🤷♂️
1 = 1^2
An "implicit" square very useful for such use.
I was hoping for some intelligent method
Dissatisfied? Find yourself this more "intelligent method" you're hoping for, and make a video
Wouldn't it be easier to multiply directly 512 * 512 = 256,000 + 5,120 + 1,024 = 262,144 and just to subtract 1?
For those who are used to binary and computers, simply do 1024 (2^10) x 256 (2^10) = 262144, and subtract 1, or start at 65536 (2^16) and double it twice.
So we "know" that 2^9=512, but we cannot find out 2^18=512^2 so we need to write a dissertation to calculate 2^18-1
It's more complicated and longer. If i know that 2 to 9th is 512, just do the 512*512, minus 1.
2 up too 18 is 524288, 2 minus 1 is half of 524288 is 262144
Jawabannya malah lebih rumit dan panjang, kenapa tidak 64X64X64=.....selesai
Much simpler to calculate 2*2*2*... iteratively in your head. Especially if you know that 1 Mb = 2^20 = 1048576 bytes
That's a complicated way to find $3FFFF 😆
What is the meaning of this🤨 just use the calculator men😂😎😏
"As we know 2^9=512"
So u should know also that 2^18=262,144....
Pointless
😂😂😂😂😂
Just take 2 x 2 18 times and minus 1 simple as that lol
I just know - from years of doing computer science work - that 2^10 is 1024 and 2^8 is 256. 1024 * 256 is really easy, because 1, 2, and 4 are just doublings of 256 and adding them in different 10s places. then subtract 1.
Who works in IT knows that 2^20 is 1048576. So divide by two twice and you have result :-). It would be 256*1024.
Why not just 512 x 512 - 1. Quicker than doing the additional factorisation
Yes you are correct, it is quicker mothod
I tired everything like
G.P series
Limits (calculus)
Logarithms
Binomial
At the end all the results were in the power of 2 some even exceeding 2^18 😅 so its better to learn some power table as 2^10 always helps
I did this in my head a little differently, but it could be done on paper the same way. Binary numbers are easy to work with and from computer experience, I know that 2^8 = 256, so 2^9 = 512. So, 512 is squared by (500 + 12) x(500 + 12), we know that (a + b)^2 = a^2 + 2ab + b^2. The rest is trivial, 500^2 = 250,000. 2 x 500 x 12 = 1,000 x 12 = 12,000, and 12 x 12 = 144. 250 + 12 = 262, so we have262,000 + 144 - 1 = 262,143. If you are not familiar with binary numbers, it is a simple matter to count up, 2, 4, 8,, 16, 32, 64, 128, 256, 512.
Easier decomposing 2^18-1 as a difference of squares, then as a difference of cubes times a sum of cubes . At the end: 63 times 73 times 57= 262,143
This seems like a very primitive task, what age is this for? Moreover, now many people know that 10**8 = 256 or that 10**10 = 1024. Therefore, you can just straight up 1024*256-1
That's easy. It's 11,1111,1111,1111,1111 in base 2.
you can use congruence of numbers to solve this also a to the n and b to n identity
I have math channel,watch please
This QUESTION makes the CPA resigned to their job, because having so much money, yet the tax is only 1 price.😁😆😁😁😆😁😁😆😁😆
HOW HOW HOW MY MUM CANT EVEN SOLVE THAT😂
Probably the simplest and shortest way:
2^18-1=(2^9)^2-1=(512)^2-1
Applying Vedic Math:
512*512=524*5*100+144=262144 (which can mentally be calculated in about 15 sec)
Therefore: 2^18-1=262144-1=262143
Not to me.
Growing up in the 70s and 80s, I learnt 2^16=65536 (max amount of memory addressable by an 8-bit processor with a 16-bit address bus), and later 2^17=131072 (start location in memory of the first screen of the Sinclair QL).
Thus 2^18-1
= 2^16×4 -1
= 65536×4 -1
= 262144 -1
= 262143
or
= 2^17×2 -1
= 131072×2 -1
= 262144 -1
= 262143
(This latter being the easier of the two.)
@@cigmorfil4101 However, your solution work for this one particular exercice, his way works for every numbers simply.
If i put you 7^6, having Sinclair QL memory benefit is useless
However if i apply his Vedic Math :
- 7^6 -1 = (7^3)^2 -1 = 343^2 -1
- 343*343 -1 = 386*3*100 +1 849 -1 = 1 158*100 +1849 -1 = 115 800 +1849 -1 = 117 649 -1 = 117 648
the addition is equal to the 43 of 343, squared, 43^2 = 1 849
The power is still manageable to solve and gives the reality of machine computing/coding and decoding, cipher and deciphering just like the one with beautiful mind. In which when you want to make it unmanageable to solve and wants to make someone insane, you can give the problem 2^999 - 1😁😆😁😆😁😆 anyhow, in higher mathematics maybe there is an easy way to solve this kind of insane arithmetic equations. HAPPY BS MATH everyone!🙂
Based on the rules of exponents 1 = 2^0. So, my next step was 2^18 - 2^0 equaling 2^18, which is incorrect. Why does this method not wok?
because: a^m : a^n = a^(m-n)
@@semakavf I agree with your explanation concerning the quotient law of exponents, but could not the zero power rule apply here? If not, then how can it be said, any base to the power of zero equals one. In math, my understanding is we can use inductive reasoning. Therefore, 1 = 2 - 1. Likewise 2^0=1, so I theoretically should be able to substitute 1 with base 2 to the power of 0. Thus just, a question I have?
Madam एच टाइम equal to ka sign lagana mut भूलिए.
Bhai solution de rhi h woh , aap laga dena apne paper mein aaye thein
मैडम जी 513*511 को सीधे 13*11 करके टू डिजिट में राईट साइड में लिखना शेष हासिल लेफ्ट साइड में 525*5+हासिल को सरल कर लिखना कितना बेहतर होगा उतनी प्रॉसेस करना होगा क्यों?
This is a short process of multiplecation between two number