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!)
A255549 Main diagonal of Unlucky array: a(n) = A255543(n,n). 4

%I #10 Mar 15 2016 05:09:55

%S 2,11,61,121,253,379,663,945,1377,1687,2143,2803,3543,4053,5485,6315,

%T 7023,7987,8781,9871,11559,13105,14743,16485,18337,19959,23073,24511,

%U 26371,27895,30355,33789,36925,39273,42177,44167,50455,53221,55447,58935,61921,65625,70065,73321,78031,81513,84361,87963,96937,100075

%N Main diagonal of Unlucky array: a(n) = A255543(n,n).

%C a(n) = the n-th number in the infinite subset of unlucky numbers removed at the stage n in the lucky number sieve.

%F a(n) = A255543(n,n).

%t rows = cols = 50; L = 2 Range[0, 10^5] + 1; A = Join[{2 Range[cols]}, Reap[For[n = 2, n <= rows, r = L[[n++]]; L0 = L; L = ReplacePart[L, Table[r i -> Nothing, {i, 1, Length[L]/r}]]; Sow[Complement[L0, L][[1 ;; cols]]]]][[2, 1]]]; Table[A[[n, n]], {n, 1, Min[rows, cols]}] (* _Jean-François Alcover_, Mar 15 2016 *)

%o (Scheme) (define (A255549 n) (A255543bi n n)) ;; Code for A255543bi given in A255543.

%Y Cf. A219178, A255543, A255550.

%K nonn

%O 1,1

%A _Antti Karttunen_, Feb 26 2015

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 29 21:02 EDT 2024. Contains 372952 sequences. (Running on oeis4.)