|
|
A277377
|
|
Each odd integer k is followed by k even integers.
|
|
1
|
|
|
1, 0, 3, 2, 4, 6, 5, 8, 10, 12, 14, 16, 7, 18, 20, 22, 24, 26, 28, 30, 9, 32, 34, 36, 38, 40, 42, 44, 46, 48, 11, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 13, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 15, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 17, 128, 130, 132
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
The sequence starts with a(1) = 1 and was always extended with the smallest nonnegative integer not yet present that does not lead to a contradiction.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
As a(1) = 1, we take for a(2) the even integer "0"; we then extend the sequence with a(3) which must be the smallest odd integer not yet present: this is "3"; we take for a(4), a(5) and a(6) the 3 smallest even integers not yet present: they are 2, 4 and 6; we then extend the sequence with the smallest odd available integer, which is a(7) = 5. Etc.
|
|
MATHEMATICA
|
Table[Prepend[2 Range[#^2, #^2 + 2 n - 2] &@ (n - 1), 2 n - 1], {n, 9}] // Flatten (* Michael De Vlieger, Oct 12 2016 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|