login
A337872
Primes obtained by interpreting the decimal representation of a prime p in base q, where q is the prime before p.
2
41, 149, 167, 179, 373, 673, 23563, 38993, 40591, 294227, 329683, 643213, 838139, 2391491, 2755393, 4144913, 7770163, 8422571, 8705449, 1859356559, 2207151707, 2299966681, 3063365713, 4212265633, 5728918291, 6598803767, 15976012001, 18180161711, 18819045697, 19687839581, 20701458763, 22458791039
OFFSET
1,1
LINKS
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
Cf. A337871.
Sequence in context: A146330 A146350 A050954 * A192821 A141957 A108016
KEYWORD
nonn,base
AUTHOR
J. M. Bergot and Robert Israel, Sep 27 2020
STATUS
approved