login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108101 Numbers n such that the string 1131n is the decimal expansion of a prime number. 0
1, 7, 11, 17, 23, 31, 43, 47, 49, 53, 59, 61, 67, 71, 73, 77, 89, 103, 113, 121, 131, 133, 139, 157, 181, 191, 217, 223, 239, 253, 259, 269, 271, 307, 323, 329, 331, 341, 343, 353, 379, 397, 413, 419, 421, 437, 451, 463, 467, 479, 491, 509, 523, 547, 553, 569 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

11 and 31 are primes.

471 out of the first 1000 terms of this sequence are prime.  From Harvey P. Dale, Jul 07 2012

LINKS

Table of n, a(n) for n=1..56.

EXAMPLE

n=1: 11311 is prime.

n=53: 113153 is prime.

MATHEMATICA

With[{c={1, 1, 3, 1}}, Select[Range[600], PrimeQ[FromDigits[ Join[ c, IntegerDigits[ #]]]]&]]  (* Harvey P. Dale, Jul 07 2012 *)

PROG

(MAGMA) [ n: n in [1..600] | IsPrime(Seqint(Intseq(n) cat [1, 3, 1, 1])) ];

CROSSREFS

Cf. A107645, A107644.

Sequence in context: A131229 A092737 A072669 * A158350 A048203 A088176

Adjacent sequences:  A108098 A108099 A108100 * A108102 A108103 A108104

KEYWORD

nonn,base

AUTHOR

Parthasarathy Nambi, Jun 25 2005

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 20 10:09 EST 2019. Contains 329334 sequences. (Running on oeis4.)