login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

First prime in the progression (n!+m)/m.
0

%I #4 Oct 01 2013 17:57:46

%S 2,2,3,2,2,2,103,631,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,5,5,5,5,5,5,163,

%T 23,10778406912001,149,1153,100801,137,19,19,19,3,3,3,3,3,3,3,3,3,3,3,

%U 3,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2

%N First prime in the progression (n!+m)/m.

%C m=n=200 in PARI program. It appears that for any base m there is an infinity of primes in the progression.

%o (PARI) nfactp2d2(n,m) = { for(k=1,m, for(x=1,n, y=floor((x!+ k)/k); if(isprime(y),print1(y",");break) ) ) }

%K base,easy,nonn

%O 1,1

%A _Cino Hilliard_, Dec 05 2003