bruter force iteration to obtain natural number solutions