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.

A171624 Floor(n-th nonprime / n).

This page as a plain text file.
%I A171624 #4 Oct 28 2015 13:45:12
%S A171624 1,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
%T A171624 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
%U A171624 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
%N A171624 Floor(n-th nonprime / n).
%C A171624 a(n)= floor(A018252(n)/A000027(n)) = floor(A018252(n)/n). Numerators of (A018252(n)/A000027(n)) in A171529(n), denominators of (A018252(n)/A000027(n)) in A171530(n).
%F A171624 a(n) = 1 for n >= 5.
%t A171624 Module[{nn=100,np},np=Complement[Range[nn],Prime[Range[PrimePi[nn]]]];Floor[np/Range[Length[np]]]] (* _Harvey P. Dale_, Oct 28 2015 *)
%K A171624 nonn
%O A171624 1,2
%A A171624 _Jaroslav Krizek_, Dec 13 2009
%E A171624 More terms from _Harvey P. Dale_, Oct 28 2015