Скачать презентацию

Идет загрузка презентации. Пожалуйста, подождите

Презентация была опубликована 2 года назад пользователемТатьяна Стромилова

1 Prime numbers Michael Marcheko

2 Definition A prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself. A natural number greater than 1 that is not a prime number is called a composite number. A prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself. A natural number greater than 1 that is not a prime number is called a composite number.

3 Examples 5 is prime, as only 1 and 5 divide it, whereas 6 is composite, since it has the divisors 2 and 3 in addition to 1 and 6. 5 is prime, as only 1 and 5 divide it, whereas 6 is composite, since it has the divisors 2 and 3 in addition to 1 and 6. The property of being prime is called primality. A simple but slow method of verifying the primality of a given number n is known as trial division. The property of being prime is called primality. A simple but slow method of verifying the primality of a given number n is known as trial division. A natural number (i.e. 1, 2, 3, 4, 5, 6, etc.) is called a prime or a prime number if it is greater than 1 and has exactly two divisors, 1 and the number itself.[1] Natural numbers greater than 1 that are not prime are called composite. A natural number (i.e. 1, 2, 3, 4, 5, 6, etc.) is called a prime or a prime number if it is greater than 1 and has exactly two divisors, 1 and the number itself.[1] Natural numbers greater than 1 that are not prime are called composite.

4 Examples The smallest 168 prime numbers (all the prime numbers under 1000) are: The smallest 168 prime numbers (all the prime numbers under 1000) are: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157,……………929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997

Еще похожие презентации в нашем архиве:

Готово:

© Luxoft Training 2013 Java Collections API. © Luxoft Training 2013 Collections hierarchy.

© Luxoft Training 2013 Java Collections API. © Luxoft Training 2013 Collections hierarchy.

© 2017 MyShared Inc.

All rights reserved.