Project Euler #47: Distinct primes factors

  • + 7 comments

    I am a bit confused regarding the following test case: 37 2

    There are 4 consequtive numbers which have 2 distinct prime factors:

    33: [3, 11]
    34: [17, 2]
    35: [5, 7]
    36: [2, 3]
    

    Which is the expected answer for this range?

    33
    35  
    

    OR

    33