Abstract
This study delves into the intricate relationship between statistical mechanics and the geometric underpinnings of general relativity within the scope of f(R) gravity theories, with a special emphasis on the cosmological constant (\(\Lambda\)) viewed as a transcendental element. We present a novel formulation of \(f_R(R)\) by synergizing the Lagrangian's Laurent series expansion with thermodynamic entropy considerations, thereby integrating \(\Lambda\) into the modified Einstein field equations. The latter sections offer a rigorous examination of the numerical and semi-analytical solutions for \(\Lambda\) under specific metric constraints, illustrating the inherent complexities in obtaining purely analytical solutions but highlighting the promise of numerical methodologies.



![Author ORCID: We display the ORCID iD icon alongside authors names on our website to acknowledge that the ORCiD has been authenticated when entered by the user. To view the users ORCiD record click the icon. [opens in a new tab]](https://www.cambridge.org/engage/assets/public/coe/logo/orcid.png)