The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A110743 Smallest prime beginning with n reversed. 0
 11, 2, 3, 41, 5, 61, 7, 83, 97, 11, 11, 211, 31, 41, 5101, 61, 71, 811, 911, 2, 127, 223, 3203, 421, 521, 6203, 727, 821, 929, 3, 13, 23, 331, 43, 53, 631, 73, 83, 937, 41, 149, 241, 347, 443, 541, 641, 743, 8419, 941, 5, 151, 251, 353, 457, 557, 653, 751, 853, 953, 61, 163, 263, 367, 461, 563, 661, 761, 863, 967 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS EXAMPLE a(10) = least prime beginning with 01, i.e. with 1, which is 11. PROG (PARI) okdigs(np, dfp) = {dnp = digits(np); xdnp = vector(#dfp, id, dnp[id]); return (xdnp == dfp); } a(n) = {revn = subst(Polrev(digits(n), x), x, 10); dn = digits(revn); if (revn == 1, p = 2, p = precprime(revn)); while(! okdigs(p, dn), p = nextprime(p+1); ); p; } \\ Michel Marcus, Sep 16 2013 CROSSREFS Cf. A018800, A089356. Sequence in context: A107698 A068164 A089754 * A077549 A089356 A113616 Adjacent sequences:  A110740 A110741 A110742 * A110744 A110745 A110746 KEYWORD base,easy,nonn,less AUTHOR Amarnath Murthy, Aug 10 2005 EXTENSIONS More terms from Peter Soung (soung3(AT)hotmail.com), Mar 06 2006 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified February 20 17:04 EST 2020. Contains 332080 sequences. (Running on oeis4.)