Rhythm of a Crime () is a 1981 Yugoslav fantasy crime film directed by Zoran TadiÃÂ, made in Serbian-Croatian co-production. It is based on "Dobri duh Zagreba", a short story by Pavao PavliÃÂiÃÂ. It was awarded for best screenplay and best actor at the 1983 Fantasporto.
In 1999, a poll of Croatian film critics found it to be one of the best Croatian films ever made.
Old houses in Zagreb are destroyed in order to build new, bigger blocks. A teacher who lives in one of these houses allows a stranger to share his home with him. The stranger has a fascination with statistics, and claims he can predict crimes based on statistical analyses. When a predicted murder did not occur, the stranger is adamant that the whole town will suffer unless a balance is achieved - and he leaves.