

A328986


The sequence C(n) defined in the comments (A and B smallest missing numbers, offset 1).


0



4, 10, 16, 21, 28, 33, 39, 45, 51, 57, 62, 68, 74, 80, 86, 91, 98, 103, 109, 115, 120, 127, 132, 138, 144, 150, 156, 161, 168, 173, 179, 185, 190, 197, 202, 208, 214, 220, 226, 231, 237, 243, 249, 255, 260, 267, 272, 278, 284, 290, 296, 301, 307, 313, 319
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Define a triple of sequences A,B,C by A[1]=1, B[1]=2, C[1]=4; for n>=2, A[n] = smallest missing number from the terms of A,B,C defined so far; B[n] = = smallest missing number from the terms of A,B,C defined so far; C[n] = n+A[n]+B[n].
Then A = A286660, B = A080652, C = the present sequence.
Inspired by the triples [A003144, A003145, A004146] and [A298468, A298469, A047218].


LINKS

Table of n, a(n) for n=1..55.


EXAMPLE

The initial terms are:
n: 1, 2, 3, 4, 5, 6, 7, 8. 9. 10. 11, 12, ...
A: 1, 3, 6, 8, 11, 13, 15, 18, 20, 23, 25, 27, ...
B: 2, 5, 7, 9, 12, 14, 17, 19, 22, 24, 26, 29, ...
C: 4, 10, 16, 21, 28, 33, 39, 45, 51, 57, 62, 68, ...


CROSSREFS

Cf. A286660, A080652; A003144, A003145, A003146; A298468, A298469, A047218.
Sequence in context: A081260 A310514 A190060 * A277096 A043385 A277570
Adjacent sequences: A328983 A328984 A328985 * A328987 A328988 A328989


KEYWORD

nonn


AUTHOR

N. J. A. Sloane, Nov 07 2019


STATUS

approved



