Problem 89 *

Find the smallest prime number N such that:

  • The largest prime factor of N-1 is A;
  • The largest prime factor of A-1 is B;
  • The largest prime factor of B-1 is 7.

[originally posted by Jkn on TSR]