Adric

Adric was a companion to the Doctor in his fourth and fifth incarnations. He grew up up in another universe and was a stowaway on the Doctor's TARDIS, before he was formally welcomed. Eventually he decided that E-Spac was his true home and where he wanted to be. He never returned there as he died trying to stop a crash that killed the dinosaurs. (DW: Earthshock)

Early life on Alzarius
Adric was an Alzarian born on the planet Alzarius in the parallel universe of E-Space in the 32nd century. He was ranked as an elite, and was awarded a gold star badge for mathematical excellence because he could do large sums in his head. His brother Varsh belonged to a gang of teenage thieves. Adric wanted to join them but was refused. Varsh asked him the embarkation question: "Where will you be when the starliner leaves Alzarius?" Adric replied he would be somewhere else entirely. This would prove to be true; he would be onboard the TARDIS when it took off. To prove himself to the gang, he tried unsuccessfully to steal riverfruit. (DW: Full Circle).

E-Space adventures
Adric hid aboard the TARDIS until discovered by the Fourth Doctor and Romana. He pretended to share the agenda of the Three Who Rule, a trio of vampires who ruled over a small community. He tried to save Romana from being sacrificed but failed; both were saved by the Doctor. (DW: State of Decay)

After Romana
After Romana left, (DW: Warriors' Gate) Adric and the Fourth Doctor travelled together. The Doctor genuinely came to like Adric. (PDA: Divided Loyalties) Soon after leaving N-Space, they went to Traken and met Nyssa. They saved Traken from the Master, and returned the Keepership to its rightful heir. (DW: The Keeper of Traken)

The Doctor assembled another version of K9, who joined them on their journeys. (DWAN: Inter-Galactic Cat, Conundrum, Planet of Paradise, Plague World, Just a Small Problem) At some point prior to the Fourth Doctor's attempt to fix the TARDIS' chameleon circuit, (DW: Logopolis), the Doctor dispensed with this newer K9.

Adric and the Doctor encountered the Master again shortly after leaving Traken, as the Doctor made plans to use the mathematical skills of the Logopolitans to repair the faulty TARDIS chameleon circuit. They met Nyssa again, as well as Earth stewardess Tegan Jovanka, both of whom joined them on their travels. Although they once again defeated the Master, the Doctor was badly injured, and all three companions watched him regenerate.

With the Fifth Doctor
Immedietely following the doctor's regeneration, Adric was kidnapped by The Master and held in the Hadron web, which the Master had made to use Adric's mathematical prowess and produce his own version of the Block Transfer Computations. With this power, the Master made the town of Castrovalva as a trap for the Doctor. However, the Doctor saw through the Master's plan, and rescued Adric. Without Adric in the web, the city began to fall in on itself. The Doctor, Adric, Tegan, and Nyssa escaped, but the Master was seemingly destroyed along with the city. (DW: Castrovalva)

Adric's relationship with the Doctor deteriorated after the Fourth Doctor regenerated and Tegan and Nyssa began travelling in the TARDIS. (DW: Logopolis, Castrovalva) Adric believed the girls were a hindrance to his relationship with the Doctor. He also had a clear preference for the Fourth Doctor. (PDA: Divided Loyalties DW: Earthshock )

Often frustrated by his clumsiness and fiercely competitive, Adric struggled to find a useful role in the TARDIS crew. He finally told the Doctor he wanted to return to E-Space. After showing the Doctor his computations to engineer the return, Adric confessed he really wished to remain on the TARDIS. He was caught up in a failed Cyberman invasion of Earth whichcaused him to sacrifice his life by remaining on board a crashing spaceship. The ship, Captain Briggs' freighter, was traveling through time. With Adric onboard, it crashed into prehistoric Earth, causing the extinction of the dinosaurs. (DW: Earthshock)

Legacy
Just before he regenerated, the last word the Fifth Doctor said was "Adric?" (DW: The Caves of Androzani) Adric's death haunted the Doctor for many years. His tenth incarnation watched Adric die again -- this time as a manifestation of the TARDIS Matrix. (IDW: The Forgotten)

Alternate history
In an alternate version of these events, after interference by the Fifth Doctor inan attempt to recover his TARDIS, his sub-consciousness helped Adric break the final logic code on the Cybermen's computer. This let Adric land - and survive - on Earth. Adric created a City of Excellence and ruled over a sentient race of scorpions which evolved in place of the dinosaurs. Adric created this world with Block Transfer Computations. Five hundred years later, Adric met the the Doctor and Nyssa, and accompanied them back to the Victorian era. Adric finally died after helping the Doctor recover his TARDIS from Thomas Brewster. (BFA: The Boy That Time Forgot)

Personality
Adric was a mathematical genius. He was proud of his Elite status. He wished be be accepted by his brother Varsh's gang, the Outlers, and tried to steal fruit to prove himself. When his brother died, he kept his belt, a symbol of Outler membership. (DW: Full Circle) He pretended to go along with the plans of the vampires in a ploy to rescue Romana, with whom he got on well. (DW: State of Decay) Aukon sensed Adric had the strength of spirit to survive becoming a vampire. (EDA: The Eight Doctors) He ultimately gave up his life by remaining on board Captain Briggs's freighter to prevent it from crashing into the Earth. He died holding his brother's belt. (DW: Earthshock)

Adric was fiercely loyal to the Doctor, and enjoyed a good relationship with the Time Lord, who acted as his mentor. Adric was brave; for instance when defying the Master (DW: The Keeper of Traken) and when he gave his life to save the Earth. As he crashed to his death, unable to access the computer system to input his last mathematical calculation, he mused, "Now I'll never know if I was right." (DW: Earthshock)