1,1

For n > 4, the last digits of the prime numbers are of the form 01, 001, 0000000000001,...,...000001.

Generated by n = 1, 2, 3, 4, 5, 14, 37, 48, 50, 52,... - R. J. Mathar, Dec 21 2011

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

19 is in the sequence because, for n = 3, 3!*3!! + 1 = 6*3 + 1 = 19.

a={}; Do[p=n!*n!!+1; If[PrimeQ[p], AppendTo[a, p]], {n, 10^3}]; Print[a];

Cf. A000142, A006882.

Sequence in context: A108799 A193674 A085871 * A212269 A080280 A218386

Adjacent sequences: A202419 A202420 A202421 * A202423 A202424 A202425

nonn

Michel Lagneau, Dec 19 2011

approved