MathLabs

Problem 4

Determine all positive integers relatively prime to all the terms of the infinite sequence an=2n+3n+6n−1, n≥1.a_n=2^n+3^n+6^n -1,\ n\geq 1.
Step 5 of 5: No prime can divide kk, so k=1k=1
k has no prime factor ⟹ k=1k\ \text{has no prime factor}\ \Longrightarrow\ k=1
Detailed analysis

By Step 1, 2∤k2\nmid k and 3∤k3\nmid k; by Step 4, for every prime p>3p>3, p∣ap−2p\mid a_{p-2}, so p∤kp\nmid k either (else kk and ap−2a_{p-2} would share the factor pp). Hence kk has no prime factor at all, forcing k=1k=1. Conversely k=1k=1 is coprime to every positive integer, so it does satisfy the condition. The unique answer is k=1k=1.