I read science fiction voraciously, but I am bad about remembering titles—
It concerned a Muslim man living in the Middle East in the relatively recent past. It was during a time of conflict between Moslems and Hindus.
The man was a mathematician and philosopher. Years ago, he had had a vision of a compelling female spirit who was connected in some way to pure mathematics. He basically spends his whole life trying to invoke this spirit again.
He has a dear old friend who is Hindu, whom he believes to have been killed in the conflicts, but later finds again.
It is a very beautiful story. It may have been in “The Year’s Best Science Fiction” (Gardner Dozois) in the last few years.
I can’t search at the moment but here’s a link to a list of Dozois’ anthologies -you can click on each one to see a list of contents Summary Bibliography: Gardner Dozois