|
Search: id:A124180
|
|
|
| A124180 |
|
Prime(R(n)) where Prime(i) is the i-th prime and R(n) is the value of the reverse of the digits of n. |
|
+0 12
|
|
| 2, 3, 5, 7, 11, 13, 17, 19, 23, 2, 31, 73, 127, 179, 233, 283, 353, 419, 467, 3, 37, 79, 131, 181, 239, 293, 359, 421, 479, 5, 41, 83, 137, 191, 241, 307, 367, 431, 487, 7, 43, 89, 139, 193, 251, 311, 373, 433, 491, 11, 47, 97, 149, 197, 257, 313, 379, 439, 499, 13, 53
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
EXAMPLE
|
Rp(17) = 71. Prime(71)= 353.
|
|
PROGRAM
|
(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
|
Adjacent sequences: A124177 A124178 A124179 this_sequence A124181 A124182 A124183
Sequence in context: A152242 A095405 A113581 this_sequence A151796 A113580 A117322
|
|
KEYWORD
|
easy,nonn,base
|
|
AUTHOR
|
Cino Hilliard (hillcino368(AT)hotmail.com), Dec 04 2006
|
|
|
Search completed in 0.002 seconds
|