Ad
  • Custom User Avatar

    Hi. I am having an issue with this. I got the first 11 tests to pass and then on 12 it says that I essentially had one extra emirp number. I had 981 and the correct result was 980. When I found the difference in my total and the expected outbut it was 34217, which is a prime number. Can someone help explain this difference?

    Thanks!

    Tests
    n = 50
    n = 100
    n = 200
    n = 500
    n = 750
    n = 1000
    n = 3000
    n = 7000
    n = 10000
    n = 15000
    n = 20000
    n = 50000
    [981, 39989, 19217583] should equal [980, 39989, 19183366]