Danish astrophysicist solves mystery about old stars