login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108106 Numbers n such that the string 1119n is the decimal expansion of a prime number. 1
7, 13, 19, 49, 53, 59, 73, 77, 97, 109, 121, 169, 179, 221, 227, 241, 269, 281, 299, 319, 323, 343, 359, 389, 397, 403, 449, 473, 523, 527, 529, 557, 577, 589, 607, 611, 623, 649, 653, 659, 673, 691, 697, 707, 733, 737, 779, 793, 799, 809, 817, 821, 823 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
11 and 19 are primes.
LINKS
EXAMPLE
7 is in the sequence because 11197 is prime.
73 is in the sequence because 111973 is prime.
221 is in the sequence because 1119221 is prime.
MAPLE
a:=proc(n) local z: z:=nops(convert(n, base, 10)): if isprime(1119*10^z+n)=true then n else fi end: seq(a(n), n=1..1000); # Emeric Deutsch, Jul 06 2005
MATHEMATICA
Select[Range[900], PrimeQ[FromDigits[Join[{1, 1, 1, 9}, IntegerDigits[#]]]]&] (* Harvey P. Dale, May 22 2012 *)
PROG
(Magma) [ n: n in [1..900] | IsPrime(Seqint(Intseq(n) cat [9, 1, 1, 1])) ];
CROSSREFS
Sequence in context: A073648 A298737 A109558 * A231506 A165724 A144232
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Jun 25 2005
EXTENSIONS
More terms from Emeric Deutsch, Jul 06 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)