|
|
A089923
|
|
Largest prime in the reverse concatenation of the first n consecutive prime numbers when that concatenation is a prime.
|
|
0
|
|
|
|
OFFSET
|
5,1
|
|
LINKS
|
|
|
EXAMPLE
|
53 is the reverse concatenation of the consecutive primes 3 and 5. 53 is prime.
|
|
PROG
|
(PARI) revprime2(n) = { y=3; forprime(x=5, n, y=concat(Str(x), Str(y)); z=eval(y); if(ispseudoprime(z), print(x", "z)) ) }
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|