This question doesn't support checking answers.
357. Prime generating integers

Publish Date:

Consider the divisors of 30: 1,2,3,5,6,10,15,30.
It can be seen that for every divisor d of 30, d+30/d is prime.

Find the sum of all positive integers n not exceeding 100 000 000
such that for every divisor d of n, d+n/d is prime.

Press F12 and use the "Console" tab to view the output of your codes.

Loading...