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

There are three boxes, one contains apples, another contains oranges and last one contains both apples and oranges. All three are known to be incorrectly labell...
#188 MCQ
There are three boxes, one contains apples, another contains oranges and last one contains both apples and oranges. All three are known to be incorrectly labell...
#188 MCQ
There are three boxes, one contains apples, another contains oranges and last one contains both apples and oranges. All three are known to be incorrectly labell...
#188 MCQ

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......