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. 

Tutorialspoint
Tutorialspoint

Simply Easy Learning

Updated on: 10-Oct-2022

107 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements