Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
Faster way to check if n is prime?
Post Flair (click to view more posts with a particular flair)
Post Body

Hi,

I recently had a theory regarding checking whether n is prime or not (although I don't think I'm the first one to come up with that theory) how would I prove this theory and if there was someone before me who was it?

The standard method I have been thought of checking if n is prime is checking every number until n. If n is divisible by at least one number in this range n isn't prime.

My theory is that you only need to check every number until āŒˆāˆšnāŒ‰ 1. The only number I could find that doesn't abide by this "rule" is 2.

Author
Account Strength
60%
Account Age
3 years
Verified Email
Yes
Verified Flair
No
Total Karma
69
Link Karma
3
Comment Karma
3
Profile updated: 5 days ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 months ago