OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3)=167 is included because it is prime, and for p = 43 (prime) and q = 41 (the previous prime), 43_41 = 167.
MAPLE
R:= NULL: count:= 0:
p:= 11:
while count < 100 do
q:= p; p:= nextprime(p);
L:= convert(p, base, 10);
x:= add(L[i]*q^(i-1), i=1..nops(L));
if isprime(x) then count:= count+1; R:= R, x;
fi
od:
R;
CROSSREFS
KEYWORD
nonn,base
AUTHOR
J. M. Bergot and Robert Israel, Sep 27 2020
STATUS
approved