CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

For two positive integers a and b, define the function h (a,b) as the greatest common factor (GCF) of a, b. Let A be a set of n positive integers G(A), the GCF of the elements of set A is computed by repeatedly using the function h. The minimum number of times h is required to be used to compute G is : (CAT 1999)

A
n
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
(n - 1)
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
n
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
None of these
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B (n - 1)
Ans:

It is clear that for n positive integers function h (a,b) has to be used one time less than the number of integers, i.e., (n-1) times.


flag
Suggest Corrections
thumbs-up
2
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Functions
QUANTITATIVE APTITUDE
Watch in App
Join BYJU'S Learning Program
CrossIcon