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.

A135732 Distances to next prime associated with A135731.

This page as a plain text file.
%I A135732 #5 Mar 31 2012 10:32:41
%S A135732 2,1,3,1,3,1,3,5,1,5,3,1,3,5,5,1,5,3,1,5,3,5,7,3,1,3,1,3,13,3,5,1,9,1,
%T A135732 5,5,3,5,5,1,9,1,3,1,11,11,3,1,3,5,1,9,5,5,5,1,5,3,1,9,13,3,1,3,13,5,
%U A135732 9,1,3,5,7,5,5,3,5,7,3,7,9,1,9,1,5,3,5,7,3,1,3,11,7,3,7,3,5,11
%N A135732 Distances to next prime associated with A135731.
%C A135732 Essentially the same as A046933. [From _R. J. Mathar_, Oct 28 2008]
%F A135732 Beginning with prime=2, the first n after 2 is 3 and from n=3 to next prime >n is 5, with distance from 3 to 5=2. Next n after prime=5 is 6, so that distance to next prime 7 = 1.
%e A135732 a(2)=3 because when n=8 (8 is next n after prime 7), next prime is 11 and distance is 3
%Y A135732 Cf. A135731.
%K A135732 easy,nonn
%O A135732 1,1
%A A135732 _Enoch Haga_, Nov 26 2007