OFFSET
1,1
LINKS
Abhiram R Devesh, Table of n, a(n) for n = 1..208
EXAMPLE
18 = 2*3*3 is an abundant number, but its proper divisors are 1, 2, 3, 6 and 9, none of which are abundant.
18 + 2 = 20 = 2*2*5 is an abundant number, but its proper divisors are 1, 2, 4, 5 and 10, none of which are abundant.
Thus, both 18 and 20 are primitive abundant numbers, so 18 is in the sequence.
MATHEMATICA
f1[p_, e_] := (p^(e + 1) - 1)/(p^(e + 1) - p^e); f2[p_, e_] := (p^(e + 1) - p)/(p^(e + 1) - 1); primAbQ[n_] := primAbQ[n] = (r = Times @@ f1 @@@ (f = FactorInteger[n])) > 2 && r * Max @@ f2 @@@ f <= 2; Select[Range[2, 10^4], primAbQ[#] && primAbQ[# + 2] &] (* Amiram Eldar, Jul 20 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Abhiram R Devesh, May 31 2024
STATUS
approved