GO:0003999:   adenine phosphoribosyltransferase activity
Catalysis of the reaction: AMP + diphosphate = adenine + 5-phospho-alpha-D-ribose 1-diphosphate.