Let be a graph with integral edge weights. A function is called a nowhere domination function if each satisfies , where denotes the weight of the edge and is the neighborhood of . The subset of vertices with is called a nowhere dominating set. It is known that every graph has a nowhere dominating set. It is known to be false for all other primes . The problem is open for all odd in case all weights are one.
In this paper, we prove that every unicyclic graph (a graph containing at most one cycle) has a nowhere dominating set for all . In fact, for trees and cycles with any integral edge weights, or for any other unicyclic graph with no edge weight of , there is a nowhere domination function taking only values. This is the first nontrivial infinite family of graphs for which this property is established. We also determine the minimal graphs for which there does not exist a dominating set for all in both the general case and the case.