The fourth grade teacher Thomas prime invented prime factorization as a easier way to find the prime factors of a number. He invented it in the 1920's.
They were invented by Thomas Prime in 1923 but Eratosthenes is credited for prime numbers in 2040BC (others say that prime numbers were invented at the beginning of the universe (But nobody believes that, do they))
Prime numbers were invented in 1923 by Thomas Prime who was a grade four school teacher.