4,2

Table of n, a(n) for n=4..100.

Jean-François Alcover, Frequency distribution up to 10^6 terms.

a[n_] := (NextPrime[n] - NextPrime[n, -1])/2; Table[a[n], {n, 4, 100}] (* Jean-François Alcover, Apr 16 2013 *)

Sequence in context: A057514 A273568 A140720 * A279027 A103151 A035221

Adjacent sequences: A033556 A033557 A033558 * A033560 A033561 A033562

nonn

N. J. A. Sloane

More terms from Ben Paul Thurston, Mar 30 2007

approved