cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A125174 Primes of the form k! + (k+1)! - 1.

This page as a plain text file.
%I A125174 #11 Dec 12 2024 09:30:29
%S A125174 2,7,29,839,3991679,93405311999,1394852659199,6758061133823999,
%T A125174 315777214062132212662271999999,9146650338351415815045119999999,
%U A125174 303916116658416027343136804044799999999,836313165329095177704251551336018791628799999999
%N A125174 Primes of the form k! + (k+1)! - 1.
%C A125174 Next term is too long (167 digits) to include in data. - _James C. McMahon_, Dec 11 2024
%e A125174 0!+1!-1 = 1 is not prime, 1!+2!-1 = 2 is prime, 2!+3!-1 = 7 is prime, 3!+4!-1 = 29 is prime, 4!+5!-1 = 143 = 11*13 is not prime.
%t A125174 Select[Table[n!+(n+1)!-1,{n,110}],PrimeQ] (* _James C. McMahon_, Dec 11 2024 *)
%o A125174 (PARI) for(n=0,35,if(isprime(a=n!+(n+1)!-1),print1(a,",")))
%Y A125174 Cf. A087146 (values of k), A118913 (primes of the form k! + (k+1)! + 1).
%K A125174 nonn
%O A125174 1,1
%A A125174 _Tomas Xordan_, Jan 12 2007
%E A125174 Edited and extended by _Klaus Brockhaus_, Jan 24 2007
%E A125174 a(12) from _James C. McMahon_, Dec 11 2024