- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are prime numbers and composite numbers And how we can know thank the prime or composite numbers are odd or even?
Prime numbers are those numbers that are divisible by 1 and themselves. They have only two factors that include 1 and themselves.
For example, 2, 3, 5, 7, 11, 13.....are all prime numbers
2 is the only even prime number
All prime numbers, except 2 are odd numbers
All numbers, other than prime numbers are composite numbers.
Composite numbers have three or more factors.
For example 4, 6, 8, 9, 10, 12,....are composite numbers
they have three or more factors
4 = 1x 2 x 2
4 is the smallest composite numbers
Composite numbers can be even or odd numbers
Every composite number can be expressed as a product of prime factors.
Advertisements