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!)
A108654 Numbers k such that 10^k - 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, 16326, 19492 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
If k=3 then 10^k - 117 = 883 (prime).
If k=40 then 10^k - 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
KEYWORD
nonn,hard,more
AUTHOR
Parthasarathy Nambi, Jul 06 2005
EXTENSIONS
a(9)-a(19) from Emeric Deutsch, Jul 09 2007
a(20)-a(22) from Harvey P. Dale, Feb 18 2011
a(23)-a(24) from Michael S. Branicky, Apr 01 2023
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 July 29 04:11 EDT 2024. Contains 374727 sequences. (Running on oeis4.)