|
Search: id:A124179
|
|
|
| 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. |
|
+0 12
|
|
| 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; listen)
|
|
|
OFFSET
|
2,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
|
Sequence in context: A108542 A006450 A085918 this_sequence A124173 A091610 A006170
Adjacent sequences: A124176 A124177 A124178 this_sequence A124180 A124181 A124182
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Cino Hilliard (hillcino368(AT)gmail.com), Dec 04 2006
|
|
|
Search completed in 0.002 seconds
|