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

Home > Numbers
Factor distribution in a school (Posted on 2019-11-13) Difficulty: 3 of 5
In a school, each student is assigned a positive factor of 6060, but no student's number is the greatest common divisor of any two student numbers (one of which may be their own).

What is the maximum number of students in this school?

No Solution Yet Submitted by Danish Ahmed Khan    
Rating: 1.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
solution the other way around | Comment 4 of 15 |
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 Sara Lopez on 2020-03-06 02:11:09
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (8)
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