they studied philosophy mathematics and natural sciences in the universities of prague and vienna