Influence of a topological defect on energy and partition function for a Yukawa potential (Proceedings of the Nigerian Society of Physical Sciences, 2026)