solved euler 44 with help from searching some methodology