OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..29
EXAMPLE
a(3) = 61 is a term because 61 = 2^6 - 3 where 61 and 3 are prime and 6 is divisible by 3.
MAPLE
R:= NULL: count:= 0:
for k from 1 while count < 20 do
P:= sort(convert(numtheory:-factorset(k), list), `>`);
for p in P do
x:= 2^k-p;
if isprime(x) then R:= R, x; count:= count+1; fi
od od:
R;
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Oct 30 2022
STATUS
approved