list of all prime powers -1
The primes () method gives the list of all primes. Similarly, I need a list (Say PP) that consists of all pk−1 where p is a prime and k≥1. How to create this infinite list?
Also, I want all possible finite products of elements of PP. Using this I want to understand when two such products are equal.
How to do this? Kindly share your thoughts. Thank you.