The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A050505 Unlucky numbers. 25

%I #26 Oct 27 2023 22:00:44

%S 2,4,5,6,8,10,11,12,14,16,17,18,19,20,22,23,24,26,27,28,29,30,32,34,

%T 35,36,38,39,40,41,42,44,45,46,47,48,50,52,53,54,55,56,57,58,59,60,61,

%U 62,64,65,66,68,70,71,72,74,76,77,78,80,81,82,83,84,85,86,88,89,90,91,92

%N Unlucky numbers.

%C A145649(a(n)) = 0; complement of A000959. - _Reinhard Zumkeller_, Oct 15 2008

%H Michael De Vlieger, <a href="/A050505/b050505.txt">Table of n, a(n) for n = 1..10000</a>

%F Numbers deleted in creating the lucky numbers, numbers not in A000959.

%t L = Table[2 i + 1, {i, 0, 50}]; For[n = 2, n < Length[L], r = L[[n++]]; L = ReplacePart[L, Table[r i -> Nothing, {i, 1, Length[L]/r}]]]; Complement[Range@ Max@ L, L] (* _Michael De Vlieger_, Feb 25 2017, after _Jean-François Alcover_ at A000959 *)

%Y Cf. A000959.

%K nonn,easy

%O 1,1

%A _Asher Auel_, Dec 16 1999

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 27 02:41 EDT 2024. Contains 372847 sequences. (Running on oeis4.)