Ofssets in OEIS: Was: [OEIS] Python-dvlpmnt. Was: Request for..

zak seidov zakseidov at yahoo.com
Wed Jan 3 04:48:32 CET 2007


- Antti Karttunen <antti.karttunen at gmail.com> wrote:
> In my OEIS-related Scheme-programs I use the macro
> definec,
> whose use is totally transparent to the user, i.e.
> instead of saying
> (define (A000045 n) (if (< n 2) n (+ (A000045 (- n
> 1)) (A000045 (- n 2)))))
> one just says
> (definec (A000045 n) (if (< n 2) n (+ (A000045 (- n
> 1)) (A000045 (- n 2)))))

Just one remark:
If we wish to get something like A1(2*n+3)-2A2(n/2),
there is a problem of taking into account the offsets
of sequences A1 and A2 in OEIS.
And situation with offsets in OEIS is a rather
confising :-(
 I dare omit the whole trail of the thread,
Zak

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 





More information about the SeqFan mailing list