|
| |
|
|
A067087
|
|
Concatenation of n-th prime and its reverse.
|
|
6
| |
|
|
22, 33, 55, 77, 1111, 1331, 1771, 1991, 2332, 2992, 3113, 3773, 4114, 4334, 4774, 5335, 5995, 6116, 6776, 7117, 7337, 7997, 8338, 8998, 9779, 101101, 103301, 107701, 109901, 113311, 127721, 131131, 137731, 139931, 149941, 151151, 157751
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
LINKS
| Harry J. Smith, Table of n, a(n) for n=1,...,1000
|
|
|
FORMULA
| Every term of the sequence is divisible by 11.
|
|
|
MATHEMATICA
| Table[ ToExpression[ StringJoin[ ToString[Prime[n]], StringReverse[ ToString[ Prime[n]]]]], {n, 1, 40} ]
|
|
|
PROG
| (PARI) digitsIn(x)= { local(d); if (x==0, return(1)); d=1 + log(x)\log(10); if (10^d == x, d++, if (10^(d-1) > x, d--)); return(d) } Concat(a, b)= { return(a*10^digitsIn(b) + b) } Rev(x)= { local(d, r=0); while (x>0, d=x%10; x\=10; r=r*10 + d); return(r) } { for (n=1, 1000, p=prime(n); write("b067087.txt", n, " ", Concat(p, Rev(p))) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), May 13 2010]
|
|
|
CROSSREFS
| Sequence in context: A116063 A131317 A176597 * A155709 A095044 A020151
Adjacent sequences: A067084 A067085 A067086 * A067088 A067089 A067090
|
|
|
KEYWORD
| easy,nonn,base
|
|
|
AUTHOR
| Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jan 07 2002
|
|
|
EXTENSIONS
| More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Jan 09 2002
|
| |
|
|