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.

A097453 Primes in A014237 in the order of their appearance.

This page as a plain text file.
%I A097453 #17 Oct 02 2024 10:53:12
%S A097453 2,3,5,5,13,13,17,23,41,41,61,67,67,89,109,131,131,157,163,167,167,
%T A097453 181,191,191,199,199,227,263,269,281,367,409,433,433,457,467,503,503,
%U A097453 569,593,617,641,709,761,811,839,859,859,883,887,1019,1033,1033,1117,1193
%N A097453 Primes in A014237 in the order of their appearance.
%e A097453 The 10th prime is 29, the 10th composite is 16. 29-16=13 the 5th entry in the table.
%o A097453 (PARI) composite(n) = { local(c,x); c=1; x=0; while(c <= n, x++; if(!isprime(x),c++); ); return(x) } \\ the n-th composite
%o A097453 primepcomp(n) = { for(x=5,n, y=prime(x)- composite(x); if(isprime(y),print1(y",")) ) }
%Y A097453 Cf. A014237.
%K A097453 nonn
%O A097453 1,1
%A A097453 _Cino Hilliard_, Aug 23 2004
%E A097453 Example corrected by _Harvey P. Dale_, Aug 21 2019