OFFSET
1,1
COMMENTS
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
EXAMPLE
263 is the 56th prime and is also the 56th term in A236174.
PROG
(Python)
from sympy import prime, isprime
def A236174(n):
....p = prime(n)
....for b in range(2, 11):
........x, y, z = p, 0, 1
........while x >= b:
............x, r = divmod(x, b)
............y += r*z
............z *= 10
........y += x*z
........if isprime(y):
............return y
# Chai Wah Wu, Jan 03 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Jan 25 2014
STATUS
approved