A227680 Numbers whose sum of semiprime divisors is a prime number.
30, 36, 42, 66, 70, 72, 78, 105, 108, 114, 130, 144, 154, 165, 174, 182, 196, 210, 216, 222, 231, 238, 246, 255, 273, 282, 285, 286, 288, 310, 318, 324, 345, 357, 366, 370, 385, 392, 399, 418, 430, 432, 434, 441, 442, 455, 462, 465, 474, 483, 494, 498, 518
Offset: 1
Keywords
Examples
30 is in the sequence because the semiprime divisors of 30 are 2*3, 2*5 and 3*5 and the sum 6+10+15 = 31 is a prime number.
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Maple
with(numtheory):for n from 2 to 600 do:x:=divisors(n):n1:=nops(x): y:=factorset(n):n2:=nops(y):s1:=0:s2:=0:for i from 1 to n1 do: if bigomega(x[i])=2 then s1:=s1+x[i]:else fi:od: s2:=sum('y[i]', 'i'=1..n2):if type(s1,prime)=true then printf(`%d, `,n):else fi:od:
-
Mathematica
semipSigma[n_] := DivisorSum[n, # &, PrimeOmega[#] == 2 &]; Select[Range[500], PrimeQ @ semipSigma[#] &] (* Amiram Eldar, May 10 2020 *)
Comments