A165802
Primes p with f(p), f(f(p)), … all prime, where f(n) = (n-1)/2. Stop when f(…f(p)…) is less than 4.
offset: 1
codomain: ℕ
The OEIS sequence is finite. The function defined in Lean has domain ℕ, andwhile it coincides with the OEIS in the known values, the Lean code might not represent the mathematical concept.
Declarations
Section titled “Declarations”- A165802computable