"formula for magnetic repulsion" is kind of general, don't you think? What, exactly, is it that you're wanting to know? Repulsive force as a function of distance? Something else?
Keep in mind that if it's an equation for force vs distance that you're looking for, unless you're working with simple dipole fields the field geometry can get out of hand quickly, and you may need to resort to FEA (finite-element analysis) tools to compute your stuff.
Although this of course is a little of topic it may be good for you to visit this page as it's interesting that the levitation is greater than previously used on Maglev trains.
there is also an article from U.S. Department of energy - research NEWS of this arrayseffect being put into good use also linked here below
and finally Lawrence Livermore scientists the people that are researching and developing the system called Inductrak. "A New Approach for Magnetic levitiaiton trains and rockets" which might also interest you's link here..