Has 2 answers on MathOverflow, none accepted. It may be fully or partly answered there; read them before working on it.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
We are given a matrix \(D = (d(i,j))_{1 \leq i,j \leq n}\) such that \(d(x,z) \leq d(x,y) + d(y,z)\) for each \(1 \leq x,y,z \leq n\). It is also known that \(d(x,y) \in \mathbb{N}\) (In this question \(0 \in \mathbb{N}\))
edit: You may assume \(D\) is symmetric, and there are zeroes on the main diagonal.
A coordinate \(t = (t_1,t_2,\dots,t_{n}) \in \mathbb{N}^n\) is said to be "good" if for all \(1 \leq a,b \leq n\): \(|t_a - t_b| \leq d(a,b)\)
We say that two coordinates are equivalent if one could be obtained from the other by adding a constant to all the entries.
How many "good" coordinates are there, given the matrix D? (We don't count equivalent coordinates twice).
Any idea of how to approach this is highly appreciated.
Where does this come from?
Given a graph \(G=(V,E)\) (simple and undirected), and a subset \(T \subseteq V\) we could get "coordinates" for every node in the graph in the …
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.