Sum square difference and smallest multiple