Computer Sciences > Gate 2017 Set-2 > Aptitude
X is 30 digit number starting with 4 followed 7. Then number X3 will have
A
90 digits
B
91 digits
C
92 digits
D
93 digits

Correct : A

The number of digits in a number. If a number N has d digits, then:
10d-1 ≤ N < 10d

For finding digits in X3, I can use logarithms. The number of digits in X3 is:
Number of digits = floor(log10(X3)) + 1
Number of digits = floor(3 × log10(X)) + 1

Since X is a 30-digit number starting with 47, I can estimate its range:
• Minimum value: X ≥ 47 × 1028 (smallest 30-digit number starting with 47)
• Maximum value: X < 48 × 1028 (before it becomes 48...)

The minimum case:
X = 47 × 1028
log10(X) = log10(47) + 28
log10(47) ≈ 1.672 (since log10(47) is between log10(10) = 1 and log10(100) = 2)

So, log10(X) ≈ 1.672 + 28 = 29.672

Therefore:
Number of digits in X3 = floor(3 × 29.672) + 1
= floor(89.016) + 1
= 89 + 1
= 90

Verifying with the maximum case:
X < 48 × 1028
log10(48) ≈ 1.681
log10(X) < 1.681 + 28 = 29.681
Number of digits = floor(3 × 29.681) + 1 = floor(89.043) + 1 = 89 + 1 = 90

Both cases give me 90 digits.

Similar Questions

The Palghat Gap (or Palakkad Gap), a region about 30 km wide in the southern part of the Western Ghats in India, is lower than the hilly terrain to its north an...
#20 MCQ
A function f(x) is linear and has a value of 29 at x = –2 and 39 at x = 3. Find its value at x = 5.
#44 MCQ
Based on the given statements, select the most appropriate option to solve the given question. What will be the total weight of 10 poles each of same weight? S...
#64 MCQ

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......