He then entered the University of St Petersburg, joining the Faculty of Physics and Mathematics. There he studied Serret's algebra text and Faà di Bruno's work on binary forms. He again was attracted to algebra and found Sokhotsky's course the most enjoyable of all. He wrote in his diary (see for example ):-
The pure mathematics lectures captivate me more and more. I prefer Professor Sokhotsky's lectures in the special course on higher algebra to all the others. ... The main thing that concerns me is whether I have enough talent.There is no doubt that he had ample talent and his subsequent accomplishments show this very clearly, yet it says something of his personality that he confided his doubts to his diary. Voronoy did not have a particularly easy time at university. By this time his father had retired and although he had held posts of considerable standing, nevertheless he was not well off after retirement and could not fully support his son. Voronoy had to tutor mathematics, often for rather small fees, and, taking such work very seriously and putting much effort into it, he found giving lessons exhausting. He also found life in a student residence difficult and he writes frequently in his diary about the difficulty of studying with so much noise going on and frequent student disturbances.
After graduating from St Petersburg in 1889, writing a dissertation on Bernoulli numbers, Voronoy decided to remain there and work for his teaching qualification. He was awarded a Master's Degree in 1894 for a dissertation on the algebraic integers associated with the roots of an irreducible cubic equation. He wrote in the Preface to the dissertation:-
In the essay I am now presenting, results from the general theory of algebraic integers are applied to the particular case of numbers depending on the root of an irreducible equation x3 = rx + s. The results obtained turn out to be very graphic. All integers of the field in question have a certain form. Using the form taken by the integers, it is not difficult to find a form embracing all the integral numbers divisible by a given ideal number, or, in other words, to find the ideal corresponding to that given ideal number. In our exposition the resolution of these questions is based on a detailed study of the solutions of third-degree equations relative to a prime and a composite modulus.Voronoy lectured at Warsaw University, being appointed professor of pure mathematics there in 1894. He wrote his doctoral thesis on algorithms for continued fractions which he submitted to the University of St Petersburg. He writes in the Preface to his thesis On a generalisation of the continued fraction algorithm (Russian):-
In his article 'De relatione inter ternas pluresve quantitates instituenda' Euler gave the first generalisation of the continued fraction algorithm. ... Jacobi changed Euler's algorithm somewhat in order to unify the calculations.Voronoy then discussed Jacobi's generalisation, after which he went on to look at generalisations due to Poincaré and Hurwitz. He then looked at contributions by Dirichlet and Hermite, showing that none of the above provided a satisfactory generalisation. He then writes:-
Taking as the basis of our investigations a special way of viewing the continued fraction algorithm, we propose a new generalisation of it.In fact both Voronoy's master's thesis and his doctoral thesis were of such high quality that they were awarded the Bunyakovsky prize by the St Petersburg Academy of Sciences.
Later Voronoy worked on the theory of numbers, in particular he worked on algebraic numbers and the geometry of numbers. He extended work by Zolotarev and his work was the starting point for Vinogradov's investigations. His methods were also used by Hardy and Littlewood. His major works were Sur un problème du calcul des fonctions asympototiques Ⓣ (1903), Sur une fonction transcendente et ses applications à la sommation de quelques séries Ⓣ (1903), Sur quelques propriétés des formes quadratiques positives parfaites Ⓣ (1907), and Rescherches sur les paralleloèdres primitifs Ⓣ (1908). In the first of these he considered the sum from 1 to n of t(i), the number of divisors of i. This is equal to the number of integral points (x, y) under the hyperbola xy = n.
Delone writes in  about Voronoy's work of 1907-08:-
In 1904 Voronoy attended the Third International Congress of Mathematicians at Heidelberg. There he met Minkowski and they discovered that they were each working on similar topics.
His health deteriorated due to gallstones. He wrote in his diary:-
I am making great progress with the question under study [indefinite quadratic forms]; however, at the same time my health is becoming worse and worse. Yesterday I had for the first time a clear idea of the algorithm in the theory of forms I am investigating, but also suffered a strong attack of bilious colic which prevented me from working in the evening and from sleeping the whole night. I am so afraid that the results of my enduring efforts, obtained with such difficulty, will perish along with me.Sadly his fears were justified and although he is known to have written a 28 page paper consisting of his notes on indefinite quadratic forms, this has been lost.
Article by: J J O'Connor and E F Robertson