[seqfan] sequence defined by ``exotic addition''

Georgi Guninski guninski at guninski.com
Tue Dec 22 15:28:58 CET 2009


define binary operation "o" on pairs a,b:
a o b = a[1]+b[1] , a[1]*b[2]+a[2]*b[1]

define scalar multiplication "x":
2n x a = (n x a) o (n x a)
2n+1 x a= ((n x a) o (n x a)) o a
1 x a = a


the sequence a(n) is the second component of n x [1,1]:
1,2,4,8,12,24,40,64,72,144,224,320,416,576,768,1024,1040 ...

the sequence may be more interesting if "o" were associative, is there a
list of binary associative functions?

attached is a sample pari implementation.

superseeker claims to find degree 15 revogf.

thanks.

-- 
georgi
-------------- next part --------------
{
radd(a,b)=
return([a[1]+b[1],a[1]*b[2]+a[2]*b[1]]);
}

{
rellpow(a,b)=
local(xx,yy,z,d);
xx=a;yy=b;z=a;
if(b==1,return(a));
yy=yy-1;
while(yy!=0,
while( yy % 2 == 0, yy=yy/2;xx=radd(xx,xx););
yy=yy-1;
z=radd(z,xx); 
);
return(z);
}
{
aa(n)=return(rellpow([1,1],n)[2])
}



More information about the SeqFan mailing list