Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

list of all prime powers -1

The primes () method gives the list of all primes. Similarly, I need a list that consists of $p^k-1$ where $p$ is a prime and $k \ge 1$. How to create this infinite list? Thank you.

list of all prime powers -1

The primes () method gives the list of all primes. Similarly, I need a list that consists of all $p^k-1$ where $p$ is a prime and $k \ge 1$. How to create this infinite list? Thank you.

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 $p^k-1$ where $p$ is a prime and $k \ge 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.

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 $p^k-1$ where $p$ is a prime and $k \ge 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.