I have to write $6^6 + 1$ as a product of prime numbers.
I don´t have any idea how to solve it based on arithmetical rules, so I computed the prime factors, which are 13, 37, and 97, algorithmically
I appreciate any hints
I have to write $6^6 + 1$ as a product of prime numbers.
I don´t have any idea how to solve it based on arithmetical rules, so I computed the prime factors, which are 13, 37, and 97, algorithmically
I appreciate any hints
$6^6+1\\=(6^2)^3+1\\=36^3+1\\=(36+1)(36^2-36+1)\\=37 \times 1261$
$1261$ is divisible by $13$
$1261/13=97$
So, we get the prime factors
$37,13,97$
$$(6^2)^3+1=(6^2+1)(6^4-6^2+1)\ldots$$
I looked for possible factors $x$ such that $6^6\equiv -1 \bmod x$. Starting out it was immediately clear that some small numbers were excluded as factors; eg, $5$ ($6\equiv 1 \bmod 5$), $7$ ($6\equiv -1 \bmod 7$), $11$ ($\phi(11)=2\cdot5$)$
In particular I was looking for cases where $\phi(x)=12k$, and that pretty immediately gave me $13$ as a factor and $37$ as a factor. This meant the other factor was in the region of $100$, so a simple division test found $97$.
Bonus fact: since we have $13\mathord-1 \mid 6^6$, $37\mathord-1\mid 6^6$, and $97\mathord-1 \mid 6^6$, we also have $6^6+1$ is a Carmichael number.