I dont really know how to explain this, but lets say n=600000. I want my program to display result=38, but it always displays 78. I\'m trying to recreate this function from