A057230 Numbers k such that k = p+q = r+s with p*q = r*s = primorial number(A002110) (p*q) < (r*s).
31, 107, 391, 467, 34049, 67973, 176413
Offset: 1
Examples
31 = 30+1 = 21+10, where 30=30*1 and 210=21*10 are primorial numbers.
Links
- Sean A. Irvine, Java program (github)
Programs
-
PARI
isprimo(n) = {if (n==1, return (1)); if (!issquarefree(n), return(0)); f = factor(n); #f~ == primepi(vecmax(f[,1]));} isok(n) = {c = 0; for (na=1, n\2, if (isprimo(na*(n - na)), c++); if (c == 2, return(1)););} \\ Michel Marcus, Feb 20 2016
Comments