All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
The Big Division (Posted on 2019-11-18) Difficulty: 3 of 5
What is the remainder when 232323...232323 (4018 digits) is divided by 999?

No Solution Yet Submitted by Danish Ahmed Khan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution solution the other way around | Comment 2 of 5 |
Doing 2009 steps, starting with zero and multiplying by 100 and adding 23, mod 999, gets the same result: 991

DefDbl A-Z
Dim crlf$
 

Private Sub Form_Load()
 Text1.Text = ""
 crlf$ = Chr(13) + Chr(10)
 Form1.Visible = True
  
  v = 0
  For i = 1 To 2009
    v = v * 100 + 23
    v = v Mod 999
    DoEvents
  Next
  
   
  Text1.Text = Text1.Text & v & " done"
  DoEvents

End Sub


  Posted by Charlie on 2019-11-18 12:31:20
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (23)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information