If the sequence a lists the Higgs primes, then a_{n+1} is the smallest prime greater than a_n such that a_{n+1}-1 divides the product (a1*a2*a3*...*a_n)^2. The first four Higgs primes are 2, 3, 5, and 7. Therefore, the next one is 11 because 11-1 = 10 divides (2*3*5*7)^2 = 44,100.
Write a function to determine whether a number is a Higgs prime.

Solution Stats

34 Solutions

5 Solvers

Last Solution submitted on Jul 26, 2024

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...