

A096985


Numbers n such that n*n!  NextPrime[n] is prime.


1



3, 5, 8, 10, 12, 13, 23, 26, 30, 33, 38, 114, 162, 219, 265, 268, 277, 344, 463, 651, 877, 1128, 2466, 2594
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

The corresponding next prime has more than 6239 digits.


LINKS

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


EXAMPLE

8 is in the sequence because 8*8!  11 is prime.


MATHEMATICA

<< NumberTheory`NumberTheoryFunctions`; v={}; Do[If[PrimeQ [n*n!NextPrime[n]], v=Append[v, n]; Print[v]], {n, 2150}]


CROSSREFS

Cf. A096986, A090704, A049433.
Sequence in context: A189377 A073608 A155945 * A206909 A138829 A003265
Adjacent sequences: A096982 A096983 A096984 * A096986 A096987 A096988


KEYWORD

more,nonn


AUTHOR

Farideh Firoozbakht, Jul 31 2004


EXTENSIONS

More terms from Ryan Propper, Jan 01 2008


STATUS

approved



