There isn't. If you're asking for the greatest possible whole number remainder, it's impossible to know. There are an infinite number of numbers to divide 23 by.
If this isn't the answer you're looking for, let me know, as your question might've been worded wrong. :)