OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(2) = 23 is in the sequence because between primes 23 and 29 we have 24 = 2^3*3, 25 = 5^2, 26 = 2*13, 27 = 3^3, 28 = 2^2*7, and 3*2+3+2*5+2+13+3*3+2*2+7 = 54 >= 23 + 29.
MAPLE
count:= 0: R:= NULL:
p:= 2:
while count < 100 do
t:= 0:
for q from p+1 while not isprime(q) do
t:= t + add(s[1]*s[2], s=ifactors(q)[2])
od;
if t >= p+q then
count:= count+1; R:= R, p;
fi;
p:= q;
od:
R;
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Jan 25 2021
STATUS
approved