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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104914 Numbers n such that the string 987654321k is prime. 8
1, 7, 37, 67, 77, 91, 109, 113, 133, 193, 197, 223, 317, 319, 331, 347, 371, 397, 403, 449, 491, 529, 569, 571, 587, 611, 623, 649, 673, 737, 743, 757, 767, 769, 851, 883, 893, 917, 919, 931, 989, 991, 1001, 1019, 1021, 1033, 1081, 1091, 1121, 1127, 1141 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Michael De Vlieger, Table of n, a(n) for n = 1..10000

MATHEMATICA

With[{r = Reverse@ Range@ 9}, Select[Range[1200], PrimeQ[FromDigits[r ~Join~ IntegerDigits@ #]] &]] (* Michael De Vlieger, Jan 20 2018 *)

Select[Range[1200], PrimeQ[987654321*10^IntegerLength[#]+#]&] (* Harvey P. Dale, Jul 31 2018 *)

PROG

(MAGMA) [ n: n in [1..1750] | IsPrime(Seqint(Intseq(n) cat [1, 2, 3, 4, 5, 6, 7, 8, 9])) ]; // Vincenzo Librandi, Feb 02 2011

CROSSREFS

Cf. A104915.

Sequence in context: A093389 A093342 A086110 * A032588 A123084 A123085

Adjacent sequences:  A104911 A104912 A104913 * A104915 A104916 A104917

KEYWORD

nonn,base

AUTHOR

Zak Seidov, Mar 29 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 April 25 21:06 EDT 2019. Contains 322461 sequences. (Running on oeis4.)