Question about weapon ultimate arts

What’s the formula for it’s requirements?