When a number Y is divided by X - it leaves a remainder of 11.
When Y is divided by 8X , the remainder is 92.
What is the remainder when Y is divided by 4X ?
y x answer
308 27 92
524 27 92
740 27 92
740 81 92
956 27 92
1172 27 92
1388 27 92
1388 81 92
1604 27 92
1820 27 92
2036 27 92
2036 81 92
2252 27 92
2468 27 92
2684 27 92
2684 81 92
2900 27 92
3116 27 92
3332 27 92
3332 81 92
3548 27 92
3764 27 92
3980 27 92
3980 81 92
4196 27 92
4412 27 92
4628 27 92
4628 81 92
4844 27 92
5060 27 92
5276 27 92
5276 81 92
5492 27 92
5708 27 92
5924 27 92
5924 81 92
6140 27 92
6356 27 92
6572 27 92
6572 81 92
6788 27 92
7004 27 92
7220 27 92
7220 81 92
7436 27 92
7652 27 92
7868 27 92
7868 81 92
8084 27 92
8300 27 92
8516 27 92
8516 81 92
8732 27 92
8948 27 92
9164 27 92
9164 81 92
9380 27 92
9596 27 92
9812 27 92
9812 81 92
. . .
DefDbl A-Z
Dim crlf$
Private Sub Form_Load()
Form1.Visible = True
Text1.Text = ""
crlf = Chr$(13) + Chr$(10)
For y = 93 To 10000
For x = 2 To y / 8
DoEvents
If y Mod x = 11 And y Mod (8 * x) = 92 Then
Text1.Text = Text1.Text & y & Str(x) & " " & y Mod (4 * x) & crlf
End If
Next
Next
Text1.Text = Text1.Text & crlf & " done"
End Sub
|
Posted by Charlie
on 2016-08-04 10:43:25 |