Proceedings of the Royal Irish Academy: A characterisation of algebraic numbers