试题与答案

已知p,p+2,p+6,p+8,p+14都是质数,则这样的质数p共有______

题型:填空题

题目:

已知p,p+2,p+6,p+8,p+14都是质数,则这样的质数p共有______个.

答案:

显然,p=2和p=3不符合要求.

p=5时,容易看出5,7,11,13,19都是质数,

p>5时,按p除以5的余数分类:

p=5n时,p不是质数;

p=5n+1时,p+14=5(n+3)不是质数;

p=5n+2时,p+8=5(n+2)不是质数;

p=5n+3时,p+2=5(n+1)不是质数;

p=5n+4时,p+6=5(n+2)不是质数.

因此,只有p=5一个.

故答案为:1.

试题推荐
题型:阅读理解

The Snowdonia Center
The Snowdonia Center for young mountain climbers has a climbing lesson. The beginners’ costs are $57 for a week, including food and rooms. Equipment (设备) is included except walking shoes, which can be hired (租用) at a low cost.
You must be in good health and prepared to go through body exercise. This could be the beginning of a lifetime of mountain climbing adventure (冒险).
 
Holiday News
Vacations now and in the school holidays at a country hotel in Devon. This comfortable, friendly home-from-home hotel is near the beautiful quiet countryside, but just a drive away from the sea. The food is simple but good. Children and pets are welcome. Reduced prices are offered for low season.
 
The World Sea Trip of a Lifetime
Our World Sea Trip of 2014 will be unlike any holiday that you have ever had before. You just go to bed in one country and wake up in another on the ship. But if you stay at one hotel after another as you traveled before, you’ll have to pack and unpack all your things, wait and travel during the tour.
On the ship, you will be well taken care of. Every meal will be first-class and every cabin (房舱) will be like your home.
During the trip, you can rest on deck (甲板), enjoy yourself in the game rooms and in the evening dance to our musical team and watch our wonderful play
You will visit all the places most people only dream about---from Acapulco and Hawaii to Tokyo and Hong Kong.
For a few thousand dollars, all the things can be yours.
小题1:What can you do if you like to go on holidays with pets?
A.Choose the holiday in Devon.
B.Go to the Snowdonia Center.
C.Join the World Sea Trip of 2014.
D.Visit Acapulco and Hawaii.
小题2:In what way is the Snowdonia Center different from the other two holidays?
A.It provides chances for families to get together.
B.It provides customers with good food.
C.It offers a climbing lesson.
D.It offers comfortable rooms.
小题3:What is the most special about the World Sea Trip of 2014?
A.You can have free meals on deck every day.
B.You can sleep on a ship and travel to many places.
C.You can dance to your own favourite music.
D.You have to pack and unpack your things.
查看答案
微信公众账号搜索答案