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.

A139073 Smallest prime number of the form (n+k!)/n.

This page as a plain text file.
%I A139073 #14 Oct 14 2024 01:37:20
%S A139073 2,2,3,7,1009,2,5702401,631,4481,13,566092801,3,
%T A139073 23452949585516450807808000001,259201,337,2521,
%U A139073 3553839003727872684550301886383176323956736000000001,41
%N A139073 Smallest prime number of the form (n+k!)/n.
%H A139073 Amiram Eldar, <a href="/A139073/b139073.txt">Table of n, a(n) for n = 1..58</a>
%F A139073 a(n) = (n + A139072(n)!)/n. - _Amiram Eldar_, Oct 14 2024
%t A139073 a = {}; Do[ k = 1; While[ ! PrimeQ[ (k! + n)/n ], k++ ]; AppendTo[ a, (k! + n)/n ], {n, 1, 100} ]; a [Corrected May 06 2008]
%o A139073 (PARI) a(n)=my(k,t);until(denominator(t=k++!/n+1)==1&&ispseudoprime(t),);t \\ _Charles R Greathouse IV_, Jul 19 2011
%Y A139073 Cf. A007749, A020458, A082672, A089085, A089130, A117141, A136019, A136020, A136026, A136027, A137390, A139056-A139066, A139068, A139070-A139075.
%K A139073 nonn
%O A139073 1,1
%A A139073 _Artur Jasinski_, Apr 07 2008