login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A298868 Solution (a(n)) of the system of 3 complementary equations in Comments. 8

%I #8 Apr 18 2018 02:59:25

%S 1,4,6,8,11,14,15,17,19,21,24,26,27,29,32,33,34,37,41,42,45,46,48,52,

%T 53,54,57,58,59,61,64,67,70,72,73,74,77,79,82,83,87,90,92,93,94,96,98,

%U 100,101,104,105,107,111,113,115,118,119,120,122,125,126,127

%N Solution (a(n)) of the system of 3 complementary equations in Comments.

%C Define sequences a(n), b(n), c(n) recursively, starting with a(0) = 1, b(0) = 2:

%C a(n) = least new;

%C b(n) = least new k >= a(n) + n;

%C c(n) = a(n) + b(n);

%C where "least new k" means the least positive integer not yet placed.

%C ***

%C The sequences a,b,c partition the positive integers. Let x = be the greatest solution of 1/x + 1/(x+1) + 1/(2x+1) = 1. Then

%C x = 1/3 + (2/3)*sqrt(7)*cos((1/3)*arctan((3*sqrt(111))/67));

%C x = 2.07816258732933084676..., and a(n)/n -> x, b(n)/n -> x+1, and c(n)/n -> 2x+1.

%H Clark Kimberling, <a href="/A298868/b298868.txt">Table of n, a(n) for n = 0..1000</a>

%e n: 0 1 2 3 4 5 6 7 8 9

%e a: 1 4 6 8 11 14 15 17 19 21

%e b: 2 5 7 10 12 16 20 22 25 28

%e c: 3 9 13 18 23 30 35 39 44 49

%t z = 400;

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

%t a = {1}; b = {2}; c = {}; AppendTo[c, Last[a] + Last[b]]; n = 0;

%t Do[{n++, AppendTo[a, mex[Flatten[{a, b, c}], 1]],

%t AppendTo[b, mex[Flatten[{a, b, c}], a[[n]] + n]],

%t AppendTo[c, Last[a] + Last[b]]}, {z}];

%t Take[a, 100] (* A298868 *)

%t Take[b, 100] (* A298869 *)

%t Take[c, 100] (* A298870 *)

%t (* _Peter J. C. Moses_, Apr 08 2018 *)

%Y Cf. A299634, A298869, A298870.

%K nonn,easy

%O 0,2

%A _Clark Kimberling_, Apr 17 2018

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 31 01:37 EDT 2024. Contains 374774 sequences. (Running on oeis4.)