# Compare 8 vs 31

Property | 8 | 31 |
---|---|---|

Type | composite number | prime |

Unique factors | 1 | 1 |

Total factors | 3 | 1 |

Prime factorization | 2^{3} | 31^{1} |

Prime factorization | 2 × 2 × 2 | 31 |

Divisors count | 4 | 2 |

Divisors | 1, 2, 4, 8 | 1, 31 |

Number of properties | 0 | 18 |

Centered decagonal primes | 2nd | |

Centered triangular primes | 2nd | |

Chen primes | 11th | |

Class 1+ primes | 8th | |

Emirps | 3rd | |

Euclid primes | 4th | |

Happy primes | 5th | |

Lucky primes | 4th | |

Mersenne primes | 3rd | |

Multiplicative primes | 7th | |

Pierpont primes of the 2nd kind | 8th | |

Primes | 11th | |

Right-truncatable primes | 7th | |

Sexy primes (1st member) | 7th | |

Sexy prime triplets (1st member) | 5th | |

Solinas primes | 10th | |

Super primes | 5th | |

Twin primes (2nd member) | 5th | |

Roman numberals | VIII | XXXI |

Base 2 | 1000_{2} | 11111_{2} |

Base 3 | 22_{3} | 1011_{3} |

Base 4 | 20_{4} | 133_{4} |

Base 5 | 13_{5} | 111_{5} |

Base 6 | 12_{6} | 51_{6} |

Base 7 | 11_{7} | 43_{7} |

Base 8 | 10_{8} | 37_{8} |

Base 9 | 8_{9} | 34_{9} |

Base 10 | 8_{10} | 31_{10} |

Base 11 | 8_{11} | 29_{11} |

Base 12 | 8_{12} | 27_{12} |

Base 13 | 8_{13} | 25_{13} |

Base 14 | 8_{14} | 23_{14} |

Base 15 | 8_{15} | 21_{15} |

Base 16 | 8_{16} | 1f_{16} |