login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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

Cf. A337871.

Sequence in context: A146330 A146350 A050954 * A192821 A141957 A108016

Adjacent sequences:  A337869 A337870 A337871 * A337873 A337874 A337875

KEYWORD

nonn,base

AUTHOR

J. M. Bergot and Robert Israel, Sep 27 2020

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 8 01:00 EST 2021. Contains 349590 sequences. (Running on oeis4.)