login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A124179
Prime(R(p)) where Prime(i) is the i-th prime and R(p) is the value of the reverse of the digits of prime p.
11
3, 5, 11, 17, 31, 127, 353, 467, 131, 479, 41, 367, 43, 139, 373, 149, 499, 53, 383, 59, 157, 509, 163, 521, 401, 547, 1993, 5281, 7001, 2063, 5449, 739, 5527, 7307, 7417, 877, 5701, 2437, 5801, 2539, 7649, 1087, 1153, 2689, 6067, 7841, 613, 2137, 5471
OFFSET
2,1
EXAMPLE
Rp(17) = 71. Prime(71)= 353.
PROG
(PARI) g(n) = for(x=1, n, y=revi(prime(x)); print1(prime(y)", ")) revi(str) = \ Get the integer of the reverse of the input string { local(tmp, s, j); tmp = Vec(Str(str)); s=""; forstep(j=length(tmp), 1, -1, s=concat(s, tmp[j])); return(eval(s)) }
CROSSREFS
Sequence in context: A267094 A336372 A146622 * A124173 A091610 A327044
KEYWORD
easy,nonn,base
AUTHOR
Cino Hilliard, Dec 04 2006
STATUS
approved