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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108654 Numbers n such that 10^n - 117 is prime. 0
3, 4, 6, 7, 9, 15, 27, 40, 72, 134, 170, 204, 237, 240, 285, 288, 592, 613, 1443, 1524, 2289, 2292 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

EXAMPLE

If n=3 then 10^n - 117 = 883 (prime).

If n=40 then 10^n - 117 = 9999999999999999999999999999999999999883 (prime).

MAPLE

a := proc (n) if isprime(10^n-117) = true then n else end if end proc; seq(a(n), n = 1 .. 1500); - Emeric Deutsch, Jul 09 2007

MATHEMATICA

Select[Range[3, 2500], PrimeQ[10^#-117]&]  (* Harvey P. Dale, Feb 18 2011 *)

PROG

(PARI) is(n)=ispseudoprime(10^n-117) \\ Charles R Greathouse IV, Jun 13 2017

CROSSREFS

Sequence in context: A066271 A127594 A094604 * A131530 A285379 A102093

Adjacent sequences:  A108651 A108652 A108653 * A108655 A108656 A108657

KEYWORD

hard,nonn

AUTHOR

Parthasarathy Nambi, Jul 06 2005

EXTENSIONS

More terms from Emeric Deutsch, Jul 09 2007

More terms from Harvey P. Dale, Feb 18 2011

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 21 07:18 EST 2018. Contains 299390 sequences. (Running on oeis4.)