As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AFTER TAKEOFF RIGHT MAIN LANDING GEAR WOULD NOT RETRACT. RED UNSAFE AND GREEN DOWN LIGHTS REMAINED ILLUMINATED WITH GEAR HANDLE IN OFF POSITION. CYCLED GEAR UP WITH NO CHANGE. CYCLED GEAR UP 2ND TIME. REMOVED AND REPLACED RIGHT MLG UPLOCK & DOWNLOCK ACTUATORS PER MM.