/- Copyright 2026 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -/ import FormalConjecturesUtil

$\gcd(\mathrm{numerator}(H_n), n!)$

$a(n) = \gcd(\mathrm{A001008}(n), n!)$, where $\mathrm{A001008}(n)$ is the numerator of the $n$-th harmonic number $H_n = \sum_{i=1}^n \frac{1}{i}$.

References:

namespace OeisA93818

$a(n) = \gcd(\mathrm{numerator}(H_n), n!)$, where $H_n$ is the $n$-th harmonic number.

def a (n : ) : := Nat.gcd (harmonic n).num.natAbs n.factorial

Value of the sequence a at 0.

@[category test, AMS 11] theorem a_0 : a 0 = 1 := a 0 = 1 All goals completed! 🐙

Value of the sequence a at 1.

@[category test, AMS 11] theorem a_1 : a 1 = 1 := a 1 = 1 All goals completed! 🐙

Value of the sequence a at 2.

@[category test, AMS 11] theorem a_2 : a 2 = 1 := a 2 = 1 All goals completed! 🐙

Value of the sequence a at 3.

@[category test, AMS 11] theorem a_3 : a 3 = 1 := a 3 = 1 All goals completed! 🐙

Value of the sequence a at 4.

@[category test, AMS 11] theorem a_4 : a 4 = 1 := a 4 = 1 All goals completed! 🐙

Conjecture: Every odd prime occurs as a term in the sequence.

@[category research open, AMS 11] theorem conjecture (p : ) (hp : p.Prime) (hp_odd : p 2) : n > 0, a n = p := p:hp:Nat.Prime php_odd:p 2 n > 0, a n = p All goals completed! 🐙end OeisA93818