The diagnosis of psychiatric disorders is currently based on a clinical and psychiatric examination (intake). Ancillary tests are used minimally or only to exclude other disorders. Here, we demonstrate a novel mathematical approach based on the field of p-adic numbers and using electroencephalogr…