Revert "Optimized Algorithm for Highly Triangular Number"

This reverts commit d344738f70709398742a1db50c466ecdea9ed9b1.