[seqfan] Wavy Simple Recursion Involving Minimum

Leroy Quet q1qq2qqq3qqqq at yahoo.com
Wed Jul 29 13:13:01 CEST 2009


I just posted this:

%I A163495
%S A163495 0,1,2,2,1,1,2,1,1,3,4,3,0,3,3,0,3,6,6,3
%V A163495 0,1,2,2,1,-1,-2,-1,1,3,4,3,0,-3,-3,0,3,6,6,3
%N A163495 a(0)=0, a(1)=1, a(2)=2. For n>=3, a(n) = a(n-1) - min(a(n-2),a(n-3)). 
%K A163495 more,sign
%O A163495 0,3

Is there a closed (non-recursive) form for this sequence? (Maybe the closed form is involving, say, sine and the floor function. Or maybe the closed form is much simpler, maybe involving mod, say.)

(And hopefully I didn't make a mistake figuring out the terms I submitted.)

Thanks,
Leroy Quet

[ ( [ ([( [ ( ([[o0Oo0Ooo0Oo(0)oO0ooO0oO0o]]) ) ] )]) ] ) ]


      




More information about the SeqFan mailing list