[seqfan] Re: naive sequence generator

franktaw at netscape.net franktaw at netscape.net
Tue Jan 12 18:29:04 CET 2010


You might use the PARI syntax a\b instead of a//b.

Franklin T. Adams-Watters

-----Original Message-----
From: Georgi Guninski <guninski at guninski.com>

wrote a naive integer sequence generator (basically an expression 
generator).

online demo supporting OEIS searches is at:
http://stefan.guninski.com/funfu.cgi

the python source (better run it in sage) is at:
http://stefan.guninski.com/funfu.py

some of the less ugly sequences:

f[0]=1,f[n]= (f[n-1]+Sigma[f[n//2]])
f[0]=1,f[n]= eulerphi[(Sigma[eulerphi[(n + 1)]]*eulerphi[Sigma[n]])]
f[0]=1,f[n]= (f[n//2]+f[n//2])
f[0]=1,f[n]= Sigma[Sigma[eulerphi[eulerphi[(n + 1)]]]]
f[0]=1,f[n]= (eulerphi[((n+(n + 1))*f[n//2])] // f[n-1])
( a // b <=> floor(a/b)
mass generating sequences and searching in local copy of OEIS didn't 
produce
anything reasonable for the limited time i tested.




More information about the SeqFan mailing list