Do you imagine a judge would just say "well fuck it, he published the illegal number, but appended some shit to the end, so maybe it's just an astronomical coincidence"?
But also, as pointed out elsewhere in this thread, your hypothetical is more or less what happened with the DeCSS primes Phil Carmody published. Except it never even got to a judge.