English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

A man has 2 bankcards, each with a 4 digit number. The 1st number is 4 times the 2nd. The 1st number is the reverse of the 2nd. What is the first number?

2006-06-06 05:47:42 · 6 answers · asked by soplaw2001 5 in Science & Mathematics Mathematics

6 answers

8712

2006-06-06 05:54:43 · answer #1 · answered by Anonymous · 2 2

If the 1st number is 4 times the 2nd the 1st number must be 0, 4 or 8 and the second must be 0, 1 or 2.

If the 1st number is the reverse of the 2nd then both numbers must be 0.

2006-06-06 12:58:45 · answer #2 · answered by marytormeye 4 · 0 0

It has to be 1, or 2. Not exactly sure which but if the 1st number if 4 times the the second number 3 would be 12 and that would be two digits not one.

2006-06-06 12:55:48 · answer #3 · answered by Mark 1 · 0 0

The two numbers are: 8712 and 2178

Solution: a small program can generate the result...

For x1 = 0 To 9
For x2 = 0 To 9
For x3 = 0 To 9
For x4 = 0 To 9
If ((x1 * 1000) + (x2 * 100) + (x3 * 10) + (x4 * 1)) = 4 * ((x4 * 1000) + (x3 * 100) + (x2 * 10) + (x1 * 1)) Then
PRINT ("The two numbers are: " + ((x1 * 1000) + (x2 * 100) + (x3 * 10) + (x4 * 1)).ToString + ", " + ((x4 * 1000) + (x3 * 100) + (x2 * 10) + (x1 * 1)).ToString)
End If
Next
Next
Next
Next

2006-06-06 13:19:38 · answer #4 · answered by Mintz 3 · 0 0

zero

2006-06-06 13:13:42 · answer #5 · answered by Anonymous · 0 0

wat do u mean by reverse of the second?

2006-06-06 18:43:47 · answer #6 · answered by heyheyhey 3 · 0 0

fedest.com, questions and answers