Happy prime

A happy prime was a number which was both happy and prime.

When the S.S. Pentallian hurtled towards the Torajii sun, Riley Vashtee and Martha Jones used the happy number sequence (313, 331, 367, 379) to reach the ship's back-up engines, with help from the Tenth Doctor. (DW: 42).