# How many 9 digit no.s are divisible by 7

A.1256
b.1986
c.1524
d.1874
This question is related to Dell Interview

Showing Answers 1 - 5 of 5 Answers

#### nazoor Profile Answers by nazoor

• Jan 14th, 2008

Try this excel macro

Sub test()
k = 0
For i = 100000000 To 999999999

If (i Mod 7 = 0) Then
k = k + 1
End If
Next
Cells(1, 1) = k

End Sub

Ans:

 128571428

Was this answer useful?  Yes

#### rasigan Profile Answers by rasigan

• Jan 28th, 2008

9c2=72

Was this answer useful?  Yes

#### suchintya Profile Answers by suchintya

• Jun 13th, 2008

non of the above

Was this answer useful?  Yes

#### suchintya Profile Answers by suchintya

• Jun 13th, 2008

128571428 is the correct answer that i copied from the above. But i apreciate that........
Cheers

Was this answer useful?  Yes

#### pravesh28 Profile Answers by pravesh28 Questions by pravesh28

• Mar 28th, 2010

The 100000 first 9 digit number
First number divisible by 7 is 1000006 (First term)

Greatest 9 digit number is 9999999
and divisible by 7 is 9999997 (nth term)

9999997 equals 1000005+(n-1)7
Solving we get n equals 1285714

Was this answer useful?  Yes

### Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.  