This site is supported by donations to The OEIS Foundation.

# Home primes

**stub**, please help by expanding it.

The **home prime** for a given composite number is the prime number reached after iterated reinterpretation as a new number of the previous number's prime factorization stated in ascending order and with multiplicity (a prime number is its own home prime). For example, the home prime for 25 is 773 since , then , then and 773 is prime. See A037274.

By probabilistic arguments it is known that a prime number is always reached by this process, according to John Conway. However, it is entirely possible that for some rather small numbers the home prime will be far beyond our range of computation. The home prime for 8 is 3331113965338635107, and the home prime for 49 is yet to be found, with calculations stalled just a little past a hundred iterations on an incompletely factored composite number with more than two hundred digits.

## Variant with exponents rather than multiplicity

We generally write the factorizations of numbers with exponents rather than multiplicity, e.g., rather than . (The exponent 1 is tacit, thus rather than ).^{[1]}

Applying this to the home primes, some composite numbers have different home primes. Under this variant, the home prime of 25 is not 773 but 2213, since , then and 2213 is prime. (Others have the same home prime, like and ).

Alas, this variant also has its share of numbers with unknown home primes, like 20 and 105. Sean Irvine has calculated the home primes for most numbers up to 1000, and Hans Havermann has already resolved at least five of the question marks. See A195264.

But under this variant, some steps along the way can be significantly smaller than the starting number, such as 3219905755813179726837607 leads to 729 which leads to 36 which ... ending up with 233231 as the home prime. This suggests that the trajectory for some composites may enter a loop (kind of like what happens in one variant of the Collatz problem).

- ↑ Mathematica in its standard output format however always explicitly writes out 1 as an exponent; this example would be reported as
`{{2, 3}, {3, 2}, {5, 1}}`

.