|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
2,1
|
|
LINKS
|
|
|
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
|
|
|
KEYWORD
|
easy,nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|