Computational Number Theory (Prime Adventure part 1)
-
0:00 - 0:03We'll return back to 1770, and look at what
-
0:03 - 0:07Leonard Euler said at the time.
-
0:07 - 0:09"Mathematicians have tried in vain
-
0:09 - 0:11to discover some order
-
0:11 - 0:12in the sequence of prime numbers.
-
0:12 - 0:14But we have every reason to believe
-
0:14 - 0:15that there are some mysteries
-
0:15 - 0:18which the human mind will never penetrate."
-
0:18 - 0:19Okay?
-
0:19 - 0:23And thirty years later, here's a quote from Gauss.
-
0:23 - 0:26"The problem of distinguishing
-
0:26 - 0:28prime numbers from composite numbers,
-
0:28 - 0:29and resolving composite numbers into their
-
0:29 - 0:31prime factors, is known as one of the most
-
0:31 - 0:35important and useful [problems] in the arithmetic.
-
0:35 - 0:38All methods that have been proposed thus far
-
0:38 - 0:42are either restricted to very special cases,
-
0:42 - 0:45or are so difficult that they try the patience
-
0:45 - 0:48of even the practiced calculator.
-
0:48 - 0:51The dignity of science itself seems to require
-
0:51 - 0:53that every possible means be explored
-
0:53 - 0:55for the solution of a problem
-
0:55 - 0:58so elegant and so celebrated."
-
0:58 - 1:00Wow!
-
1:00 - 1:02So these two great thinkers have really
-
1:02 - 1:05set the stage for the challenge ahead of us.
-
1:05 - 1:08And now, I'm going to fast-forward to 2010,
-
1:08 - 1:10and show you a paper
-
1:10 - 1:12that came out of the 'RSA competition' --
-
1:12 - 1:14which is a competition that no longer runs.
-
1:14 - 1:16But the purpose of the competition was
-
1:16 - 1:18to put out a large number and say,
-
1:18 - 1:20"Can anyone factor it?"
-
1:20 - 1:23So in 2010, this winning team
-
1:23 - 1:26factored a 768-bit number.
-
1:26 - 1:30(And that means it was a 232-digit number,
-
1:30 - 1:32if you're thinking in base ten.)
-
1:32 - 1:36So this team -- in 2010 -- they won the competition
-
1:36 - 1:39by factoring a 232-digit number.
-
1:39 - 1:44So that's how far we have come from Euler to --
-
1:44 - 1:46(Or we can go back to Euclid.)
-
1:46 - 1:47But from Euler to 2010,
-
1:47 - 1:49we're at 232-digit numbers.
-
1:49 - 1:51And here was the answer in their paper.
-
1:51 - 1:55So this was the first prime.
-
1:55 - 1:57This was p1.
-
1:57 - 1:59And this was p2.
-
1:59 - 2:03So this is the state of the art right now.
-
2:04 - 2:06Okay. How did they factor this number?
-
2:06 - 2:07And what are the state-of-the-art techniques?
-
2:07 - 2:09Well, we're going to go back
-
2:09 - 2:10and build from the beginning.
-
2:10 - 2:14And this kind of defines 'computational number theory.'
-
2:14 - 2:17That is the topic of this adventure.
-
2:17 - 2:20So what does computational number theory mean?
-
2:20 - 2:23Well, 'computation' comes from the Greek word for 'gravel.'
-
2:23 - 2:25Stones were used for counting.
-
2:25 - 2:28Computation is any type of calculation --
-
2:28 - 2:30whether you're using stones, or a ruler,
-
2:30 - 2:32or a slide rule, or a calculator,
-
2:32 - 2:34or this cool looking machine --
-
2:34 - 2:37which is Babbage's 'Difference Engine' --
-
2:37 - 2:41which was a hand-powered calculator.
-
2:41 - 2:42It doesn't matter what you're using
-
2:42 - 2:44or [if] you're using a computer -- [or not].
-
2:44 - 2:46You're doing some sort of computation.
-
2:46 - 2:49And now, what kind of computation are we doing?
-
2:49 - 2:52Number theory.
-
2:52 - 2:55And that involves this mysterious distribution
-
2:55 - 2:58of prime numbers -- studying this distribution.
-
2:58 - 3:00And what we're actually looking at
-
3:00 - 3:02is 'multiplicative' number theory --
-
3:02 - 3:03which is questions of
-
3:03 - 3:05"How do you factorize numbers?"
-
3:05 - 3:07"How do you tell me if a number is prime?"
-
3:07 - 3:09-- and so forth.
-
3:09 - 3:14And we begin with a very simple question, or --
-
3:14 - 3:17not a question -- a challenge.
-
3:17 - 3:20We need to build a machine which takes an input --
-
3:20 - 3:22(And that input is some integer, 'x.')
-
3:22 - 3:25And all that machine needs to do
-
3:25 - 3:32is output 'true' or 'false.'
-
3:32 - 3:34And that is the first step.
-
3:34 - 3:36Now we will use the
-
3:36 - 3:37[Khan Academy] computer-science tool
-
3:37 - 3:40to actually build this machine together.
-
3:40 - 3:41And one of the questions
-
3:41 - 3:45that we will be asking is two things --
-
3:45 - 3:46two aspects to this machine.
-
3:46 - 3:49How much time --
-
3:49 - 3:50That's a clock. [CHUCKLES]
-
3:50 - 3:53How much time does it take to get the solution?
-
3:53 - 3:57And how much space does it need?
-
3:57 - 3:59And when I say 'space,'
-
3:59 - 4:00I mean -- for example, in the case of
-
4:00 - 4:02this mechanical calculator -- physical space.
-
4:02 - 4:04How many rooms do we need to hold our machine?
-
4:04 - 4:06Or if we're using a computer,
-
4:06 - 4:10how much memory does it need?
-
4:10 - 4:12So we will be returning
-
4:12 - 4:14to these two ideas as we go.
- Title:
- Computational Number Theory (Prime Adventure part 1)
- Description:
-
more » « less
Prime Adventure: Learn how to build algorithms (and write code!) which solve number theoretic challenges such as prime factorization. Follow the rest of this adventure on Khan Academy: http://www.khanacademy.org/cs/prime-adventure-level-1/1018672065
- Video Language:
- English
- Duration:
- 04:14
| Dmitry Pulin edited English subtitles for Computational Number Theory (Prime Adventure part 1) | ||
|
Vanessa Lum edited English subtitles for Computational Number Theory (Prime Adventure part 1) | |
| Mike Ridgway edited English subtitles for Computational Number Theory (Prime Adventure part 1) | ||
| Mike Ridgway edited English subtitles for Computational Number Theory (Prime Adventure part 1) | ||
| Mike Ridgway edited English subtitles for Computational Number Theory (Prime Adventure part 1) | ||
| Mike Ridgway added a translation |
