Flygon learns Hyper Beam at level 65 through leveling up. If training it all the way there sounds like too much of a grind, there's an easier shortcut.
You can simply buy the Hyper Beam TM (TM 15) from the department store and teach it to Flygon right away, no grinding required.