[seqfan] R: Re: Sequence related to A180919

Bruno Berselli berselli.bruno at yahoo.it
Thu Jan 20 10:56:58 CET 2011


Bellissimo :)
 
It all adds up!
 
With a less beautiful "code" I had calculated a similar sequence (n^2+h*n+1 for n>=0, h>1).
Thank you, Robert, what you wrote is wonderful. I had already answered your contributions but my message was deleted for reasons of length (I had recopied my sequence with 900 terms).
Now I'm going to study these results.
Thanks for your precious help ;)
 
Bruno
 
 


--- Gio 20/1/11, Joerg Arndt <arndt at jjj.de> ha scritto:


Da: Joerg Arndt <arndt at jjj.de>
Oggetto: [seqfan] Re: Sequence related to A180919
A: "Sequence Fanatics Discussion list" <seqfan at list.seqfan.eu>
Data: Giovedì 20 gennaio 2011, 07:19


* Robert Israel <israel at math.ubc.ca> [Jan 20. 2011 08:05]:
> Maybe a "heavier-duty" number theorist would have written it this
> way:
> 
> use numtheory in
>  A := (n::posint) ->
>     if n = 1 then  0
>     elif n = 2 then infinity
>     elif n mod 4 = 0 then
>       tau(n^2/4 - 1)/2 -1
>     elif n mod 4 = 2 then
>       tau(n^2/16 - 1/4)/2 - 1
>     else
>       tau(n^2-4)/2 - 1
>     end if
>    end use;
> 

Now that's lovely, thank you!

> [...]

> >I don't know if we want "infinity" as the member of the sequence
> >for n=2, though.
> >

We can't for technical reasons  8-)
A remark should obviously be added.


> [...]

Again, thanks for you help,   jj

_______________________________________________

Seqfan Mailing list - http://list.seqfan.eu/



      



More information about the SeqFan mailing list