Re:Complexity Theory’s 50-Year Journey to the Limits of Know...
by mjcohen on Friday August 18, 2023 @09:01PM
(#37184300)
Depends what you mean by larger. The example that occurs to me is the priblem of determining whether or not an integer is prime. This can be done relatively quickly for numbers of the form 2^p-1 where p is prime, but would take much longer for a much smaller prime not of this form.
[ Parent
| on HN ]
Re:Complexity Theory’s 50-Year Journey to the Limits of Know...
by Nevermark on Saturday August 19, 2023 @01:51AM
(#37185924)
Those would be effectively different problems.
Adding the constraint of only needing to classify a particular form of prime will always result in an algorithm of equal or lesser complexity order.