Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A114018
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A114018 Least n-digit prime whose digit reversal is also prime. +0
7
2, 11, 101, 1009, 10007, 100049, 1000033, 10000169, 100000007, 1000000007, 10000000207, 100000000237, 1000000000091, 10000000000313, 100000000000261, 1000000000000273, 10000000000000079, 100000000000000049 (list; graph; listen)
OFFSET

1,1

COMMENT

The more compact version A168159 gives many more terms, cf. formula. [From M. F. Hasler (mhasler(AT)univ-ag.fr), Nov 21 2009]

FORMULA

a(n)=10^(n-1)+A168159(n) [From M. F. Hasler (mhasler(AT)univ-ag.fr), Nov 21 2009]

MATHEMATICA

f[n_] := Block[{k = 10^(n - 1)}, While[ !PrimeQ[k] || !PrimeQ[FromDigits@Reverse@IntegerDigits@k], k++ ]; k]; Array[f, 19] (* Robert G. Wilson v *)

PROGRAM

(PARI) for(x=1, 1e99, until( isprime(x=nextprime(x+1)) & isprime(eval(concat(vecextract(Vec(Str(x)), "-1..1")))), ); print1(x", "); x=10^#Str(x)-1) \\ [From M. F. Hasler (mhasler(AT)univ-ag.fr), Nov 21 2009]

CROSSREFS

Sequence in context: A062397 A158578 A003617 this_sequence A089770 A069663 A121419

Cf. A168159, A007500, A006567, A122490. [From M. F. Hasler (mhasler(AT)univ-ag.fr), Nov 21 2009]

Adjacent sequences: A114015 A114016 A114017 this_sequence A114019 A114020 A114021

KEYWORD

base,nonn,new

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Nov 12 2005

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(at)rgwv.com), Nov 19 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 19 21:04 EST 2009. Contains 171054 sequences.


AT&T Labs Research