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

Home > Probability
(x!+1)/(x+1) = prime number (Posted on 2010-07-30) Difficulty: 3 of 5
For a positive integer x drawn at random between 1 and 20000 inclusively, determine the probability that (x!+1)/(x+1) is a prime number.

No Solution Yet Submitted by K Sengupta    
Rating: 2.3333 (3 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re(2): computer can't go that high | Comment 3 of 9 |
(In reply to re: computer can't go that high by Justin)

I see the prime divisor function (PRMDIV) in UBASIC doesn't even try with numbers as large as the 10513391193507374500051862069 that's encountered when x=28, which is why my program missed it.
  Posted by Charlie on 2010-07-30 18:17:40

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 (0)
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