The production of neutral pions by the interaction of 200A·GeV p and16O projectiles with a Au target has been studied in the pseudorapidity range 1.5≦η≦2.1. Transverse momentum spectra have been measured between 0.4 GeV/c and 3.6 GeV/c and their dependence on the centrality of the collision has been investigated. The peripheral-collision spectra display a marked change of slope with a hard component starting at about 1.8 GeV/c, in contrast to central-collision data. The data are discussed in comparison to p+p and α+α data from the ISR.