# 整数の素因数分解（factor_integer）

整数の素因数分解を、素数と指数の組のリストとして返します。

## 書き方

### factor_integer(n)

**n**

整数。整数を受け取ります。

## 例題

- $\displaystyle 60 = \begin{pmatrix} 2 & 2 \\ 3 & 1 \\ 5 & 1 \end{pmatrix}$

  `factor_integer(60)`

  ソルバーでは、`factor_integer(60)` の答えは `[[2, 2], [3, 1], [5, 1]]` です。

  [ソルバーで開く](https://ja.hilberon.com/?q=factor_integer%2860%29)

## 関連する関数

- [integer_exponent](https://ja.hilberon.com/library/integer_exponent)

  整数に含まれる素数の指数。
- [integer_partitions](https://ja.hilberon.com/library/integer_partitions)

  整数を正の整数の和として表すすべての方法。
- [fibonacci](https://ja.hilberon.com/library/fibonacci)

  n番目のフィボナッチ数。F(1) = F(2) = 1。
- [extended_gcd](https://ja.hilberon.com/library/extended_gcd)

  2つの整数の最大公約数と、それを与える係数。
- [from_continued_fraction](https://ja.hilberon.com/library/from_continued_fraction)

  連分数が表す数。
- [euler_phi](https://ja.hilberon.com/library/euler_phi)

  オイラーのトーシェント関数：n以下の整数のうち n と互いに素なものの個数。

---
Source: https://ja.hilberon.com/library/factor_integer
