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

Home > Numbers > Sequences
Interesting Sequence (3) (Posted on 2004-10-04) Difficulty: 1 of 5
What year comes next in the following sequence?

1973 1979 1987 1993 1997 1999

See The Solution Submitted by SilverKnight    
Rating: 2.6667 (6 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re: Any Easier way ? | Comment 3 of 10 |
(In reply to Any Easier way ? by Syzygy)

The layman's primality test is the Sieve of Eratosthenes.  That's what you'd use if you are doing the test by hand without a table.

If testing large numbers by computer, the sieve no longer works (it's running time is exponential in the number of bits in the number).  There are randomized algorithms that run in polynomial (in the number of bits) time with high probability, as well as a deterministic polynomial-time one discovered by a few folks at the India Institute of Technology a few years ago.

Edited on October 4, 2004, 11:06 am

Edited on October 4, 2004, 11:07 am
  Posted by David Shin on 2004-10-04 11:04: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 (13)
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