Find pairs of consecutive integers where the prime factors sum to the same value. For example, (5, 6) are Ruth-Aaron pairs because the prime factors \(5 = 2 + 3\).
ruth_aaron_pairs(min, max, distinct = FALSE)
A List of integer pairs.
an integer representing the minimum number to check.
an integer representing the maximum number to check.
a logical indicating whether to consider repeating prime factors or only distinct prime number factors.
Paul Egeler, MS