login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A031903 Lucky numbers with size of gaps equal to 20 (upper terms). 2

%I

%S 957,1797,2943,3003,3027,3153,3747,4227,4695,4761,5211,5547,5637,6621,

%T 7629,7737,8253,8535,9915,9957,10173,10311,10341,11157,12357,12519,

%U 12699,13677,13893,14775,14817,14997,15291,15333,15417,15567

%N Lucky numbers with size of gaps equal to 20 (upper terms).

%H Amiram Eldar, <a href="/A031903/b031903.txt">Table of n, a(n) for n = 1..10000</a>

%t t = Range[1, 20000, 2]; sieve[n_] := Module[{k = t[[n]]}, t = Delete[t, Table[{i}, {i, k, Length[t], k}]]]; n = 1; While[ t[[n]] < Length[t], n++; sieve[n]]; Transpose[Select[Partition[t,2,1], Last[#]- First[#]==20&]][[2]] (* _Harvey P. Dale_, Apr 07 2011 *)

%Y Cf. A000959, A031902.

%K nonn

%O 1,1

%A _Patrick De Geest_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 15 16:02 EDT 2020. Contains 336505 sequences. (Running on oeis4.)