Chapter 90: Looking for Mason Primes? Come on!
Zhang Zhiqiang made it clear that he wanted to join the research, and made a sonorous 'military order', saying that he would be able to solve the manpower problem, and he also went to the computer laboratory in a resolute manner.
When he got out of the complex, the firmness on his face suddenly disappeared.
He didn't know the bottom of his heart.
Although the 'military order' was sonorous and powerful, he was only an associate researcher in a computer laboratory, saying that he was looking for help from graduate students and doctoral students, but he was not a doctoral student or graduate supervisor, and the students would not listen to him, and what he said did not necessarily work, or it certainly did not work.
In addition, this kind of research is definitely unfunded, just an idea of Wang Hao, and it is really difficult to attract people without funding.
Doctoral students and graduate students say that they are very idle, but they all have to study, write papers, and have other work to do, so it is impossible to say that they are very idle.
"Will anyone help?"
Zhang Zhiqiang was very unsure, "In this way, just go and try, if it doesn't work, pull Luo Dayong, Luo Dayong and I, two people!" ”
Go, definitely still go.
Although I don't have much confidence in my heart, I have to go and give it a try.
Zhang Zhiqiang still went to the computer laboratory, went to the fifth floor of the laboratory building, glanced at the doors of several workshops, and found the most people to go in, and there were six or seven people busy inside.
He took a closer look and found that there was no doctoral supervisor there, all of them were students, and he immediately exhaled lightly.
If there is a doctoral supervisor, it feels awkward to ask the other student's student to help write code, and even if the student agrees, it seems that he is borrowing the other party's momentum and pressuring the student to work.
He really just asks students to help, and he does what he wants, and he doesn't want to do it, rather than asking students to do anything.
After turning around and taking a closer look, Zhang Zhiqiang stood at the door of the workshop, glanced out of the corridor, and then closed the door.
At this time, the people in the workshop all looked over with doubts.
Most of them knew Zhang Zhiqiang and knew that he was an associate researcher who had just been promoted in the laboratory, but because he did not have students in his hands and rarely worked in the laboratory, almost no one was familiar with him.
Zhang Zhiqiang spoke, he clapped his hands and said, "Everyone, excuse me, I'll talk about something." ”
"I have a job that requires people to write code by hand, which is a more complex program, and I want to find a few people to help, do any of you want to participate?"
Most of the students lowered their heads and continued with what they were doing.
Zhang Zhiqiang continued embarrassedly, "It's not for nothing", he gritted his teeth and said, "Let's finish writing this program together, I will ask for my own pocket, everyone will give subsidies, and invite everyone to dinner." ”
Some students pointed to their ears and listened, but after listening, they suddenly lost interest.
Give the subsidy after the program is written?
It's hard to attract such a long-term promise and an uncertain salary, and it doesn't matter what you want to eat.
Those students who were still looking up gave off a tone of disdain in their eyes.
Zhang Zhiqiang took a deep breath, thinking that he should be more sincere, "That's right,." I probably don't understand this algorithm, but it is related to finding Mersenne primes. ”
"Mason prime, you know it, right? So far, only 51 have been found, and we have designed a program to assist in finding the Mersen prime, and if we can find the next Merson prime, the prize will be 100,000 US dollars. ”
What Zhang Zhiqiang said was indeed very sincere, and it was from the heart, because he was not the leader of the research, and it was impossible for him to make a decision for Wang Hao.
This sentence made the students who looked up just now all bow their heads, they really didn't speak, but they already despised it in their hearts, "Just you?" Also Mason prime? Also design a program to find Mersenne primes? ”
"Dream it!"
"Joining this job is really a waste of work!"
"Promises won't be promised, when we don't know? Is the Mersen prime number something you can find if you want to? You might as well buy a lottery ticket and have a 1 in 10 million chance of winning. ”
Zhang Zhiqiang stood at the door, embarrassed and a little pitiful, he still said weakly, "This research is from Professor Wang Hao of the School of Science, don't think about it, I'm just here to ask......"
"Huh!"
Two doctoral students in the front row suddenly stood up, and one of them immediately asked, "Is it Professor Wang Hao's research?" ”
"Is it really Teacher Wang Hao?"
Zhang Zhiqiang was stunned, "Yes? Wang Hao is looking for me......"
"I'm joining!"
"I'm joining too!"
A few students in the back also reacted and hurriedly raised their hands to sign up, "I will also join, Teacher Wang Hao's project, I will help if I help." ”
"Last time Mr. Wang Hao came to the laboratory, what he told us was really useful, and I also joined ......"
“……”
Several students came around to sign up, Zhang Zhiqiang was dumbfounded, what am I ...... Mention Wang Hao earlier!
……
Computer labs, small meeting rooms.
More than a dozen doctoral students and graduate students got together.
Wang Hao stood at the front of the conference room, and the dozen or so people in front of him with some surprise couldn't help but give Zhang Zhiqiang a thumbs up, and the meaning revealed in his eyes was almost the same, "If you really have you, you can find a dozen to help as soon as you look for it." ”
Zhang Zhiqiang bowed his head slightly in embarrassment.
Wang Hao cleared his throat and said, "That's the case." I have a program to write, but it feels like it's too complicated to write it alone, and I need to find someone to help me in parts. In this way, I am not from the computer lab, and I will not let you help in vain. ”
"There are so many of us writing this program, three days is almost enough, each person is divided into a part of the work, and when it is completed, one thousand yuan per person, it will be regarded as a subsidy."
This is also an opportunity for students to make extra money.
Most doctoral and graduate students do not earn much, and it is also attractive to be able to spend time and earn more money.
After listening to Wang Hao's words, a student immediately said, "Teacher Wang Hao, you don't need to give money, I'm here to help." ”
"Just do me a favor and write some code, and give me some money."
"No need to give money! No need to give money! ”
Zhang Zhiqiang listened to the sour whisper, "I just said that I paid out of my own pocket, but you don't have this attitude." ”
Wang Hao shook his head and said firmly, "If you don't want money, I can't let you do it, this matter must be said first." ”
No one said anything more.
Next, Wang Hao drew a frame diagram on the blackboard, drew it step by step, and made a mark on each step, and then began to explain it in turn, "Let's take a look at this frame diagram, this is the overall structure of the program." ”
"If you are interested, you can do your own research after the work is completed, maybe it will be helpful for your understanding of architecture and algorithms."
"Now I'm mainly talking about what needs to be done, starting from the first step, it's very simple, the prime test, and then the digital output, there should be nothing to say."
"Next, compare and filter and compare with this series......"
He patiently explained.
The whole program is to use the effective and independent carry algorithm to analyze the 'exponential p as a prime number' and the 'Merson number corresponding to p', which can be roughly divided into more than 20 steps, and each step needs to be a program.
Finally, all the programs are connected together to achieve the desired functionality.
Some of the steps are relatively simple, and it can be said that there is no difficulty, such as the first step of the numerical element detection output, 'primity detection', to put it bluntly, is to check whether the number is prime, there is no difficulty for undergraduates, but in the program design, it is still to simplify the amount of calculation.
After Wang Hao finished explaining everything and assigned work to everyone, a group of people went back to work.
Wang Hao and Zhang Zhiqiang also stayed in the computer lab, and they simply worked in Zhang's office, working together on the most complex part of the framework.
Wang Hao and Zhang Zhiqiang worked together until half past nine in the evening, returned home and slept for a while, and the next day in addition to going to class normally, it was to go to the computer lab to write code.
Because the students responsible for writing the code are in the laboratory, Wang Hao has to sit in the laboratory, and there will always be students who encounter some difficulties or have other related questions, and he will help them think of a way or explain it.
In the afternoon of the next day, Chen Qinghua came to the laboratory again, saw Wang Hao and asked, "I heard that you are looking for a few students to help write a program?" I asked what the procedure was, and they didn't make it clear. ”
"A Procedure for Analyzing Mason Numbers." Wang Hao explained simply.
"Mason numbers? Do what? Chen Qinghua was puzzled.
Wang Hao said, "It is to analyze the Mernesan number, and I want to use the analysis results to find the Mersen prime." ”
“……”
Chen Qinghua pursed his lips and was silent for a while, "Come on!" He walked away with his hands behind his back.
Not long after Chen Qinghua left, another professor came over, it was Professor Qi Xiao, who was also a doctoral supervisor, and there were two students who helped write code, and he was still a doctoral student led by Qi Xiao.
Qi Xiao and Wang Hao were not familiar with each other, so they asked Zhang Zhiqiang, "What did you do when you wrote this program?" Does it take a long time? I'm afraid of delaying the progress of the students. ”
"No, it won't."
Zhang Zhiqiang said affirmatively, "I estimate, three days at most, it won't take long, I estimate that it will be completed tomorrow if it is faster." ”
"That's good." Qi Xiao didn't care anymore after hearing this, and continued to ask curiously, "I heard that it is related to Merson primes, is it Professor Wang's prime-related research?" ”
"Find the Mason prime." Zhang Zhiqiang said five words very bluntly, "It is to design a program to find Mason primes." ”
“……”
Qi Xiao's reaction was the same as Chen Qinghua's, he also pursed his mouth for a long time, and didn't say a word, leaving only one sentence, "Come on." ”
Then, gone.
Looking for a Merson prime? What an international joke! When I don't know Mersenne primes?
There are only fifty-one in the world so far, and I don't know how many years after I have found the next one, and I want to find it after designing a program?
Dream on!