Seriously disagreement

Richard Mathar mathar at strw.leidenuniv.nl
Wed Sep 3 14:34:02 CEST 2008


shows that it counts primes generated from a list of 2x^2-1, x<=10^n that survive a
sieving procedure. The virgin starting list is A056220 = 2x^2-1 without the first term,
 = 2*10^2-1.
so 161/7=23 is the prime that is put into the list first but last before 199.
       46, 2262, 148933,...
Return-Path: <apovolot at gmail.com>
X-Ids: 166
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to
         :subject:cc:in-reply-to:mime-version:content-type
         :content-transfer-encoding:content-disposition:references;
        bh=+XJlmBnOeRAg0E4yJC8yt1JF5JF+BHm71Nr2wVeoI4E=;
        b=WSvM3mvKOKHDEYmT2qEybvf3yN/h4tCvvP+ivRtZp5CGoq7uvKQTlOznjTWvHf5UNU
         X3a0s9oLUO6m1vSPO2DIOGvnfCaaXw3vHvEhhTD7h+gic9dpl7+8j3aoCZqbun4hUwZp
         1dGQDH9bhJYYZGi5xZp7GPAz7RyANBNqXR4sA=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:cc:in-reply-to:mime-version
         :content-type:content-transfer-encoding:content-disposition
         :references;
        b=q4eDHTyCR4OSY7huwZ1A8UdzIDRvwWKf8KWpdAf8sMY13ySZVKkg89fh8jL+/FeTnq
         qL1bYHGHNy0U+VquNzsQc6BxB0XGuy55hrYSvQLeWCQGF4zu0rGjxEtHWX4XgGgSXarA
         ejSqXXZc5MrZSSupEFfq8eLgVdW88MLdkqK8U=
Message-ID: <144987c90809031033y398085aaofe5e13c81a6850c3 at mail.gmail.com>
Date: Wed, 3 Sep 2008 13:33:51 -0400
From: "Alexander Povolotsky" <apovolot at gmail.com>
To: "Richard Mathar" <mathar at strw.leidenuniv.nl>
Subject: Re: Seriously disagreement
Cc: seqfan at ext.jussieu.fr
In-Reply-To: <200809031551.m83Fpo68004682 at amer.strw.leidenuniv.nl>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <200809031551.m83Fpo68004682 at amer.strw.leidenuniv.nl>
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (shiva.jussieu.fr [134.157.0.166]); Wed, 03 Sep 2008 19:33:54 +0200 (CEST)
X-Virus-Scanned: ClamAV 0.93.3/8147/Wed Sep  3 14:59:48 2008 on shiva.jussieu.fr
X-Virus-Status: Clean
X-Miltered: at jchkmail.jussieu.fr with ID 48BECA81.002 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)!
X-j-chkmail-Enveloppe: 48BECA81.002/209.85.132.243/an-out-0708.google.com/an-out-0708.google.com/<apovolot at gmail.com>
X-j-chkmail-Score: MSGID : 48BECA81.002 on jchkmail.jussieu.fr : j-chkmail score : X : R=. U=. O=# B=0.198 -> S=0.233
X-j-chkmail-Status: Ham

---------- Forwarded message ----------
From: Bernhard Helmes <bhelmes at gmx.de>
Date: Sep 3, 2008 1:14 PM

I have added a description of the algorithms and the needed mathematical theory.
http://www.devalco.de/sieve_of_helmes.htm

My mathematical explanation could be better formulate.
 If you have questions, ask me.

Nice Greetings from the primes
Bernhard
--
www.devalco.de         Development of Algorithmic Constructions
www.rabbitweb.de      Jugglevideos
www.beablue.de         personal web page
Tel.: 0241 / 99 77 55 22 in Germany (0049)




There is a new page, SubmitC.html (linked from the usual
Submit new seq. or comment page) for making CHANGES
to a sequence.

But if you are just ADDING something, or changing the terms,
please use SubmitA.html instead - it is much easier to process.

Please use the new page very cautiously, and keep a private
copy of what you send - there will probably be bugs.

Both David Applegate and Russ Cox helped with the new page,
although they should not be blamed for any errors or for
my programming style.

The other major new page is SubmitN.html, for sending in
a new sequence (prenumbered or unnumbered - unnumbered sequences
automatically get assigned a number).  This was announced
earlier.

Neil




pp> From seqfan-owner at ext.jussieu.fr  Tue Sep  2 11:08:44 2008
pp> Date: Tue, 02 Sep 2008 11:07:29 +0200
pp> From: Peter Pein <petsie at dordos.net>
pp> To: Sequence Fans <seqfan at ext.jussieu.fr>
pp> Subject: Re: A109795 a(n)= n*(1+floor(n/10)) has arbitrary "10" and can generalize
pp> 
pp> Seemingly the generating functions are (in Mathematica-syntax):
pp> 
pp> gf[k_] := (Sum[x^i, {i, 1, k - 1}] + (k + 1) x^k) /
pp>           ((1 - x)^3*Sum[x^i, {i, 0, k - 1}]^2)
pp> 
pp> Cheers,
pp> Peter

The generating function for floor(n/k) [which is following a recurrence
a(n)=a(n-k)+1] is x^k/[(1-x)(1-x^k)], as for example in A002264, A002265,
A002266.
The generating function for 1+floor(n/k) is given from there by moving
the entire sequence k places to the left, which is equivalent to dropping
the leading k zeros and the factor x^k in the generating function, which yields
To multiply by n, the generating function must be differentiated with
respect to x (to move one "n" from the power in a(n)*x^n to the front)
and essentialy be post-multiplied by x to move from n*a(n)*x^(n-1) back
to n*a(n)*x^n. So the generating function of the k-th row in the
T(k,n) = n*(1+floor(n/k)) is 


or in fixed fonts ASCII art:



Richard





More information about the SeqFan mailing list