A073828
Primes of the form 1 + 0!*1!*2!*...*n! (subsequence of A019515).
Original entry on oeis.org
2, 2, 3, 13, 125411328001, 69113789582492712943486800506462734562847413501952000000000000001
Offset: 1
a(0) = 1 + 0! (0=A073827(0)) = 1 + 1 = 2. a(1) = 1 + 0!*1! (1=A073827(1)) = 1 + 1*1 = 2. a(4) = 1 + 0!*1!*2!*3!*4!*5!*6!*7! (7=A073827(4)) = 1 + 1*1*2*6*24*120*720*5040 = 125411328001
- Ryser, H. J. Combinatorial Mathematics. Buffalo, NY: Math. Assoc. Amer., p. 53, 1963.
-
pr=1; for(n=0,115, pr=pr*n!; if(isprime(pr+1), print1(pr+1,",")))
A030522
Product of first n palindromic primes minus 1.
Original entry on oeis.org
1, 5, 29, 209, 2309, 233309, 30563609, 4615105109, 835334024909, 159548798757809, 49938774011194529, 17628387225951669089, 6575388435279972570569, 2518373770712229494528309
Offset: 1
-
palQ[n_]:=Module[{idn=IntegerDigits[n]},idn==Reverse[idn]]; #-1&/@Rest[ FoldList[ Times,1,Select[Prime[Range[200]],palQ]]] (* Harvey P. Dale, Jun 21 2011 *)
FoldList[Times,Select[Prime[Range[100]],PalindromeQ]]-1 (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Dec 29 2018 *)
Corrected and extended by Larry Reeves (larryr(AT)acm.org), Sep 25 2000
A030521
Product of first n palindromic primes plus 1.
Original entry on oeis.org
3, 7, 31, 211, 2311, 233311, 30563611, 4615105111, 835334024911, 159548798757811, 49938774011194531, 17628387225951669091, 6575388435279972570571, 2518373770712229494528311, 1830857731307790842522081371, 1385959302599997667789215597091
Offset: 1
-
palpQ[n_]:=Module[{idn=IntegerDigits[n]},idn==Reverse[idn]]; #+1&/@FoldList[ Times, 1,Select[Prime[Range[500]],palpQ]] (* Harvey P. Dale, Apr 23 2011 *)
A073827
Numbers n such that 1 + 0!*1!*2!*...*n! is prime.
Original entry on oeis.org
0, 1, 2, 3, 7, 14
Offset: 1
-
pr=1; for(n=0,115, pr=pr*n!; if(isprime(pr+1), print1(n,",")))
A030428
a(n) = 0! * 1! * 2! * ... * n! - 1.
Original entry on oeis.org
0, 0, 1, 11, 287, 34559, 24883199, 125411327999, 5056584744959999, 1834933472251084799999, 6658606584104736522239999999, 265790267296391946810949631999999999, 127313963299399416749559771247411199999999999
Offset: 0
Showing 1-5 of 5 results.
Comments