On the face if it, H. C. Pocklington referenced the P / NP distinction in the year 1910. In the Wikipedia article on ‘P’ we find the following passage:
“Kozen states that Cobham and Edmonds are "generally credited with the invention of the notion of polynomial time." Cobham invented the class as a robust way of characterizing efficient algorithms, leading to Cobham's thesis. However, H. C. Pocklington, in a 1910 paper, analyzed two algorithms for solving quadratic congruences, and observed that one took time "proportional to a power of the logarithm of the modulus" and contrasted this with one that took time proportional "to the modulus itself or its square root", thus explicitly drawing a distinction between an algorithm that ran in polynomial time versus one that did not.”
Is this a typo? or is it perhaps a case of putting modern terminology into the mouth of a famous forerunner, as we do in the case of Lagrange’s Theorem?
While one might reasonably argue that Pocklington considered the complexity class we now call P, certainly the notion of NP came significantly later.
This is not surprising, since it is quite plausible to come up with the concept of polynomial-time algorithms (scaling of run-time still being very important for human calculators) without having a proper theoretical basis for computer science, whereas that is not really the case for the concept of "solvable in polynomial time by a non-deterministic Turing machine". The equivalent definition for NP in terms of "yes" instances having certificates that can be efficiently checked is perhaps a little more intuitive, but still not something you'd expect to predate computers.