Skip to content

A076046

OEIS Lean4

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.

finite