Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #6 Mar 30 2012 18:50:50
%S 2,3,3,3,7,5,3,5,5,3,19,5,7,11,5,5,13,7,3,13,61,47,5,7,11,13,53,13,23,
%T 7,11,5,31,5,79,7,127,5,5,23,19,11,67,5,19,3,7,107,31,53,41,151,11,
%U 107,227,251,151,37,11,43,53,73,11,7,47,61,61,23,241,53,71,277,13
%N Smallest prime starting an arithmetic progression meeting also prime(n) and having a maximal number of terms less than prime(n).
%C a(n) = A000040(n) - A109831(n) * A109832(n).
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/PrimeArithmeticProgression.html">Prime Arithmetic Progression</a>
%H <a href="/index/Pri#primes_AP">Index entries for sequences related to primes in arithmetic progressions</a>
%K nonn
%O 2,1
%A _Reinhard Zumkeller_, Jul 04 2005