login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A109616 Numbers k such that (10's complement factorial of k) + 1 is prime. 1
2, 5, 10, 25, 36, 44, 65, 67, 138, 149, 176, 212, 279, 1293, 2367, 2463, 2707, 3130, 4150, 4635 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Larger values not certified.

Some of the larger entries may only correspond to probable primes.

LINKS

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

EXAMPLE

a(2)=5 because (10-5)*(10-4)*(10-3)*(10-2)*(10-1) + 1 = 15121 is prime.

MATHEMATICA

f[n_] := 10^Length[IntegerDigits[n]] - n; p = 1; Do[p *= f[n]; If[PrimeQ[p + 1], Print[n]], {n, 4635}] (* Ryan Propper, May 20 2006 *)

CROSSREFS

Cf. A110396.

Sequence in context: A324149 A054866 A242935 * A181785 A018262 A336542

Adjacent sequences:  A109613 A109614 A109615 * A109617 A109618 A109619

KEYWORD

more,nonn,base

AUTHOR

Jason Earls, Aug 01 2005

EXTENSIONS

More terms from Ryan Propper, May 20 2006

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 June 24 16:28 EDT 2021. Contains 345417 sequences. (Running on oeis4.)