- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# HCF of co-prime numbers 4 and 15 was found as follows by factorisation:

$4 = 2 \times 2$ and $15 = 3 \times 5$ since there is no common prime factor, so HCF of 4 and 15 is 0. Is the answer correct? If not, what is the correct HCF?

**Given:**

$4 = 2 \times 2$ and $15 = 3 \times 5$ since there is no common prime factor, so HCF of 4 and 15 is 0.

**To do:**

We have to find whether the answer is correct.

**Solution:**

$4=2\times2\times1$

$15=3\times5\times1$

Here,

The HCF of 4 and 15 is 1.

The given answer is not correct.

- Related Questions & Answers
- Program to find HCF (Highest Common Factor) of 2 Numbers in C++
- Program to find N-th term of series 2, 4, 3, 4, 15… in C++
- If a number is read as a String, how to Count the no of times the highest number repeated in the string? a. Ex: 2 4 3 4 2 4 0 -> (3)
- Sum of the Series 1/(1*2) + 1/(2*3) + 1/(3*4) + 1/(4*5) + ... in C++
- C++ program to find the sum of the series (1*1) + (2*2) + (3*3) + (4*4) + (5*5) + … + (n*n)
- Sum of the series 1 + (1+2) + (1+2+3) + (1+2+3+4) + ... + (1+2+3+4+...+n) in C++
- Count number of trailing zeros in (1^1)*(2^2)*(3^3)*(4^4)*.. in C++
- Sum of the series 2 + (2+4) + (2+4+6) + (2+4+6+8) + ... + (2+4+6+8+...+2n) in C++
- C program to find Highest Common Factor (HCF) and Least Common Multiple (LCM)
- Program to print numbers such that no two consecutive numbers are co-prime and every three consecutive numbers are co-prime Using C++
- Finding n-th number made of prime digits (2, 3, 5 and 7) only in C++
- Find Sum of Series 1^2 - 2^2 + 3^2 - 4^2 ... upto n terms in C++
- Count numbers from range whose prime factors are only 2 and 3 in C++
- Find sum of the series 1-2+3-4+5-6+7....in C++
- Find (1^n + 2^n + 3^n + 4^n) mod 5 in C++
- C++ Program to find the sum of a Series 1/1! + 2/2! + 3/3! + 4/4! + …… n/n!

Advertisements