A076046
Ramanujan-Nagell numbers: the triangular numbers (of the form a*(a+1)/2) which are also of the form 2^b - 1.
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”- A076046computable