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.

A068360 Numbers n such that there is no squarefree number between prime(n) and prime(n+1).

This page as a plain text file.
%I A068360 #9 Jan 24 2013 14:30:51
%S A068360 1,2,5,7,17,20,25,28,35,41,43,45,49,52,57,64,69,70,81,83,98,109,120,
%T A068360 140,144,152,171,173,176,178,182,190,206,215,225,229,230,236,253,256,
%U A068360 261,262,277,286,294,296,302,307,315,318,323,336,346,348,373,377,390
%N A068360 Numbers n such that there is no squarefree number between prime(n) and prime(n+1).
%H A068360 Harvey P. Dale, <a href="/A068360/b068360.txt">Table of n, a(n) for n = 1..1000</a>
%F A068360 n such that A061398(n)=0
%t A068360 Join[{1},PrimePi/@Transpose[With[{prs=Partition[Prime[Range[ 400]],2,1]}, Select[ prs,Union[SquareFreeQ/@Range[#[[1]]+1,#[[2]]-1]]=={False}&]]][[1]]] (* _Harvey P. Dale_, Jan 24 2013 *)
%Y A068360 Cf. A061398.
%K A068360 nonn
%O A068360 1,2
%A A068360 _Benoit Cloitre_, Feb 28 2002