In this paper I report the results of a survey of the astronomical outputs of all 63 IAU member countries as well as several non-member countries, based on an analysis of the affiliations of the authors given for nearly 900 thousand astronomical papers appearing in ADS between the years 1976 and 2005. The results show a roughly three-fold increase in the number of published papers per year over this 30-year interval. This increase is seen both in developed and also in most developing countries. The number of publications per IAU member correlates strongly with gross domestic product. It is over 2 papers per IAU member per year in the countries with the strongest economies but less than 0.5 in the countries with low GDP per capita. Since 2001 there has been a dramatic increase in the number of multi-author multinational papers published. This increase is especially noticeable for authors in developing countries, indicating that astronomers in these countries are increasingly participating in international collaborations for their research activities.