Current location - Training Enrollment Network - Mathematics courses - Interesting math Tang priest
Interesting math Tang priest
Zhi Dou Zhu Bajie

It is said that Tang Priest and his disciples came to guo jia cun after learning Buddhist scriptures in the West, and were warmly welcomed by the villagers. Everyone regards them as heroes of exorcism, not only taking photos with them as a souvenir, but also inviting them to be guests at home.

Facing the hospitality of the villagers, the teachers and apprentices felt very sorry, and helped them harvest crops, plow fields and rake fields whenever they had the chance. In the first few days, the pig worked hard, but after a few days, he became lazy again. He thinks it's too hard to work like this, and the master is more comfortable. As long as you sit and preach and recite Buddha, you will have everything. In fact, the master is nothing. If it weren't for the Monkey King's critical eye and skill, I'm afraid I couldn't even go to the Western Heaven, let alone learn from the Buddhist scriptures. If I have such an apprentice, I can do something, and then, haha, I can enjoy my retirement.

So Bajie began to talk. Within a few days, he recruited nine apprentices, and he named them: Xiao Yi Huan, Xiao Er Huan ... Xiao Jiu Huan. It stands to reason that Bajie should concentrate on practicing and teaching his disciples now. However, he still did not change his bad habits, and often took his disciples out to eat and drink, which made the people complain. People are thinking about the good things they have done for everyone, and no one is embarrassed to complain to Wukong. In this way, Bajie people are even more fearless, eating five or six hundred steamed buns at a time, and the people are almost boiling.

There is a girl named Ganoderma lucidum in the neighboring village. She is clever and kind, and often uses her wisdom to fight the wicked skillfully. Hearing this, she decided to punish Bajie. When she came to guo jia cun to open a restaurant, Bajie heard the news. Lingzhi girl pretended to be surprised and said, "Master Wuneng, it's a great honor for you to come to my restaurant. Come to my place for dinner in the future and don't go anywhere else. " She paused and said, "Here is a round table specially prepared for you. You ten people sit in a different order every time. When you complete all the orders, I will provide you with meals for free. But before that, every time you eat a meal, you should do a good deed for a villager in the village. What do you think? " Hearing this tempting suggestion, Bajie was so excited that they repeatedly said yes. So they always eat according to the agreed conditions and write down the seats. A few years later, new orders are still emerging, and Bajie is puzzled and has to ask Wukong for advice. Wukong couldn't help laughing when he heard this. "You idiot, you can't count such a simple bill, and you still want to pick it up cheaply. You'll never get this free meal. " "Can't we get it after twenty or thirty years?" Wukong said, "Then I'll work out this account for you. Let's start with a simple number. Suppose there are three people eating. We gave them the serial numbers of 1, 2, 3, and there were six sequences, namely 123, 132, 2 13, 23 1 3 12, 3265433. If four people eat a piece of metal, the first person will sit still, and the seats of the other three people will change six times. When four people sit still as the first person in turn, the overall arrangement order is 6× 4 = 24. According to the same method, it can be inferred that if five people go to eat, there will be 24× 5 = 120 arrangements ... 10 people will have 3628800 different arrangements. Because you have to eat three meals a day, you can calculate the number of days to eat with 3628800÷3: 1209600 days, which is nearly 3320 years. Think about it, can this free leek be eaten? "

After Wukong's calculation, Bajie suddenly understood the intention of Ganoderma lucidum girl and couldn't help feeling ashamed. From then on, Bajie often took his migrant brother to help the villagers. They regained people's love.