[seqfan] Re: Subtracting or adding n to a(n-1)

Ray Chandler rayjchandler at sbcglobal.net
Thu Apr 30 18:09:37 CEST 2009

```>
> Are they the same sequence?

I agree with Joshua on this point, not the same.

> Next question: Consider my sequence again, but let a(0) = the
> integer m.
>
> We can construct 3 sequences here, where {a_m(k)} is my
> sequence with starting value m:
>
> b(m) = the smallest positive integer j such that a_m(j) =
> a_m(k) for some k where 0<=k<j.
>
> I think this sequence begins (offset 0):
> 24,16,21,3,12,..
> (Not in EIS.)

I get 24,42,21,3,12,15,27,37,6,20,24,...

>
> c(m) = the value of k in the definition of b(m).
> I think this sequence starts:
> 20,12,17,0,8,...
>

I get 20,30,17,0,8,11,23,33,1,16,11,...

> f(m) = a_m(b(m)) = a_m(c(m)):
>
> f(m): 42,33,33,3,20,...
>

I get 42,74,33,3,20,27,48,76,7,41,32,...

> Did I make any mistakes? I have yet to submit these
> sequences. I am waiting to see if the first sequence above is
> the same as Recaman's.
>

We disagree on the a_1 sequence.  This is what I have for it:
1,0,2,5,9,4,10,3,11,20,30,19,7,6,8,23,39,22,40,21,41,62,84,61,37,12,14,13,15,44,74,43,75,42,76,111,147,110,72,33,73,32,7
4

Ray

```