A066674: Least number m such that phi(m) = A000010(m) is divisible by the n-th prime.
Statement
Comments on the relationship between A035095, A066674, A125878, added by N. J. A. Sloane, Jan 07 2013: Let a(n) = A066674(n), b(n) = A035095(n), c(n) = A125878(n). It is immediate from the definitions that a(n) <= b(n) and a(n) <= c(n). Bjorn Poonen (Jan 06 2013) makes the following observations: 1) A prime p divides phi(m) if and only if p^2 | m or p | q-1 for some prime q | m. Thus the smallest m for p is either p^2 or the smallest prime q = 1 (mod p). In other words, a(n) = min(b(n),p(n)^2). 2) In particular, the m in the definition of a(n) is at most p(n)^2, so phi(m)/p(n) < p(n), so p(n) is the largest prime dividing phi(m), and phi(m)/(2 p(n)) < p(n)/2 < p(n-1), so p(n-1) does not divide phi(m)/2. Thus c(n) = a(n). Further comments from Eric Bach, Jan 07 2013: As others have pointed out, the possible equivalence of a(n) and b(n) is basically the question of how quickly the least pr
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/oeis-a066674.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Text: OEIS Foundation, CC BY-SA 4.0. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/oeis-a066674.lean
import Mathlib /-! # A066674: Least number m such that phi(m) = A000010(m) is divisible by the n-th prime. Source: https://oeis.org/A066674 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_oeis_a066674 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a066674