Is 317 a prime number?
317 is a prime number, because nothing up to its square root (about 17) divides it, so its only factors are 1 and 317.
Checking 317 for primality, divisor by divisor
| Try | Into | Gives | Verdict |
|---|---|---|---|
| 2 | 317 | 158 remainder 1 | no |
| 3 | 317 | 105 remainder 2 | no |
| 5 | 317 | 63 remainder 2 | no |
| 7 | 317 | 45 remainder 2 | no |
| 9 | 317 | 35 remainder 2 | no |
| 11 | 317 | 28 remainder 9 | no |
| 13 | 317 | 24 remainder 5 | no |
| 15 | 317 | 21 remainder 2 | no |
| 17 | 317 | 18 remainder 11 | no |
You only need to test primes up to the square root of 317, about 17: if 317 had a factor bigger than that, its partner would be smaller and would already have been found.
The quick checks first
- Divisible by 2? No: the last digit is odd.
- Divisible by 3? No: the digit sum is 11.
- Divisible by 5? No: the last digit is 7.
- Divisible by 9? No: the digit sum is 11.
- Divisible by 10? No: the last digit is 7.
All the factors of 317
1, 317 (2 factors)
The primes near 317
The prime before 317 is 313; the prime after it is 331.
๐งฎ Calculator
The answer appears here, with the working in words.
โ๏ธ Five questions, answers hidden
1. Is 318 prime?
Answer: no
2. Is 319 prime?
Answer: no
3. What is the smallest prime factor of 321?
Answer: 3
4. List the primes between 10 and 30.
Answer: 11, 13, 17, 19, 23, 29
5. Up to which number do you need to test divisors for 952?
Answer: the square root, about 30
๐ The class this belongs to
Prime and composite numbers are taught in Grade 4 and 5 in the US, Year 5 in the UK (KS2), Class 5 and 6 in CBSE and Year 5 and 6 in Australia.
If this page is the homework and the method is not sticking, that is what a 1-on-1 class fixes: one tutor with a master's degree, one child, on a shared whiteboard, in your time zone, about US$10 to $13 an hour. How 1-on-1 online tutoring works.
