![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
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
Express 18 as the sum of two prime numbers in all possible ways.
Given :
The given number is 18.
To do :
We have to express 18 as the sum of two prime numbers in all possible ways.
Solution :
Prime number :
A number which has exactly two factors (1 , itself ).
$5 + 13 = 18, 13 + 5 = 18$
$7 + 11 = 18, 11 + 7 = 18$
5 , 7 , 11 , 13 are prime numbers.
These are the possible ways, in which 18 can be expressed as the sum of two prime numbers.
Advertisements