Deutsch   English   Français   Italiano  
<vd9vha$1dva9$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Andrey Tarasevich <andreytarasevich@hotmail.com>
Newsgroups: comp.lang.c++
Subject: Re: OT: Re: Sieve of Erastosthenes optimized to the max
Date: Sat, 28 Sep 2024 15:21:29 -0700
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <vd9vha$1dva9$1@dont-email.me>
References: <ul41d4$2koct$1@raubtier-asyl.eternal-september.org>
 <utoh9d$6lrr$1@raubtier-asyl.eternal-september.org>
 <utq0ag$hvrl$3@dont-email.me>
 <utq0os$ibqn$1@raubtier-asyl.eternal-september.org>
 <utq11p$icmm$1@dont-email.me> <v25c87$1ld9m$1@dont-email.me>
 <86r0duwqgg.fsf@linuxsc.com> <v39o3l$1lvju$1@dont-email.me>
 <86o78mpnlf.fsf@linuxsc.com> <v3fv2u$2ursd$1@dont-email.me>
 <86ttibod7n.fsf@linuxsc.com> <86h6eaoi2r.fsf@linuxsc.com>
 <v4sool$1grge$1@dont-email.me> <867celixcw.fsf@linuxsc.com>
 <v5sg9s$mat4$1@dont-email.me> <86zfr0b9hw.fsf@linuxsc.com>
 <v638ud$25623$1@dont-email.me> <861q3o5do1.fsf@linuxsc.com>
 <v7tdts$29195$1@dont-email.me> <868qx45v5g.fsf@linuxsc.com>
 <v9lbns$11alj$1@dont-email.me> <86r0aojx1m.fsf@linuxsc.com>
 <v9o2kf$1gqv1$1@raubtier-asyl.eternal-september.org>
 <va88m0$ikl3$2@dont-email.me> <va8jfa$k5pk$1@redfloyd.dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 29 Sep 2024 00:21:30 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="0abc83581b4e71f40a8d5aba138498a3";
	logging-data="1506633"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18RJaqCnkFHTezmWHrmLo1i"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:kOQQ8sevtlugHkQFHyo5HjuUIzg=
In-Reply-To: <va8jfa$k5pk$1@redfloyd.dont-email.me>
Content-Language: en-US
Bytes: 2258

On 08/22/24 5:00 PM, red floyd wrote:
> You can skip multiples of three, by starting with 7, and then
> alternately adding 4 then 2.

.... by starting with 5 and then alternately adding 2 then 4, if you want 
to be follow the general idea of wheel factorization.

Or by starting with 7 and then adding cyclically { 4, 2, 4, 2, 4, 6, 2, 6 }.

And so forth...

-- 
Best regards,
Andrey