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.

A059987 Lucky numbers generated from primes.

This page as a plain text file.
%I A059987 #19 Dec 15 2017 17:34:54
%S A059987 2,5,11,17,31,41,47,59,73,83,103,127,137,149,157,179,197,211,233,257,
%T A059987 269,283,307,313,331,353,367,379,389,431,449,487,499,509,547,563,571,
%U A059987 607,617,631,661,677,691,709,739,751,823,829,853,877,883,907,919,947
%N A059987 Lucky numbers generated from primes.
%C A059987 Follow same procedure that is used to produce the lucky numbers A000959 except use primes instead of natural numbers.
%C A059987 Start with natural numbers, apply sieve of Eratosthenes, then sieve of Ulam. This is an example of composition of sieve operators. Circa 1955, Polish mathematician Stanislaw Ulam (1909-1984) identified a particular sequence which he designated "lucky numbers," which share many properties with primes (density, equivalent of twin primes, equivalent of Goldbach's conjecture). Other "random primes" which generalize the lucky numbers not only almost always satisfy the prime number theorem but also the Riemann Hypothesis. What can be said about composition of such "random primes"? - _Jonathan Vos Post_, May 08 2007
%C A059987 There is a slight ambiguity, arising from the first step of Ulam's sieve, which is to delete every second number, while in the remainder of the procedure, one deletes every v(k)-th term from the current vector v, with k=2,3,4... (but not k=1 in the 1st step). The present sequence is obtained by deleting in the first step every 2nd prime (thus using k=1 in the first step). - _M. F. Hasler_, Sep 23 2013
%o A059987 (PARI) list_A059987(N=200)={my(v=primes(N),i);while(v[i++]<=#v,v=vecextract(v,2^#v-1-sum(j=1,#v\v[i],2^(v[i]*j-1))));v} \\ - _M. F. Hasler_, Sep 22 2013
%Y A059987 Cf. A000040, A000959.
%Y A059987 Cf. A032605, A229205.
%K A059987 easy,nonn
%O A059987 1,1
%A A059987 _Jason Earls_, Mar 13 2001
%E A059987 Entry revised by _N. J. A. Sloane_, Oct 20 2007, at the suggestion of _R. J. Mathar_