This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A297827 Difference sequence of A297826. 3

%I

%S 1,5,2,2,4,3,3,1,2,4,1,4,1,6,2,1,2,6,0,2,6,0,2,2,2,4,5,2,1,2,2,2,4,3,

%T 1,2,2,2,4,3,3,3,1,2,4,1,2,2,4,5,2,3,3,1,2,4,1,6,2,3,3,1,2,4,1,4,1,4,

%U 1,6,2,1,2,6,2,3,1,2,4,1,2,2,4,3,1,4

%N Difference sequence of A297826.

%C Conjectures:

%C (1) 0 <= a(k) <= 6 for k>=1;

%C (2) if d is in {0,1,2,3,4,5,6}, then a(k) = d for infinitely many k; for d = 0, see A297829.

%H Clark Kimberling, <a href="/A297827/b297827.txt">Table of n, a(n) for n = 1..10000</a>

%t mex[list_, start_] := (NestWhile[# + 1 &, start, MemberQ[list, #] &]);

%t tbl = {}; a[0] = 1; a[1] = 2; b[0] = 3; b[1] = 4;

%t a[n_] := a[n] = a[1]*b[n - 1] - a[0]*b[n - 2] + n;

%t b[n_] := b[n] = mex[tbl = Join[{a[n], a[n - 1], b[n - 1]}, tbl], b[n - 1]];

%t u = Table[a[n], {n, 0, 300}](* A297826 *)

%t v = Table[b[n], {n, 0, 300}](* A297997 *)

%t Differences[u]; (* A297827 *)

%t Differences[v]; (* A297828 *)

%t (* _Peter J. C. Moses_, Jan 03 2017 *)

%Y Cf. A297826, A297828.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Feb 04 2018

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified March 19 15:02 EDT 2019. Contains 321330 sequences. (Running on oeis4.)