Positioning of nucleosomes along a eukaryotic genome plays an important role in its organization and regulation. There are many different factors affecting the location of nucleosomes. Some can be viewed as preferential binding of a single nucleosome to different locations along the DNA and some as interactions between neighboring nucleosomes. In this study, we analyze positioning of nucleosomes and derive conditions for their good positioning. Using analytic and numerical approaches we find that, if the binding preferences are very weak, an interplay between the interactions and the binding preferences is essential for a good positioning of nucleosomes, especially on correlated energy landscapes. Analyzing the empirical energy landscape, we conclude that good positioning of nucleosomes in vivo is possible only if they strongly interact. In this case, our model, predicting long-length-scale fluctuations of nucleosomes' occupancy along the DNA, accounts well for the empirical observations.