|
|
A338839
|
|
No odd digit is present in a(n) + a(n+1).
|
|
8
|
|
|
0, 2, 4, 16, 6, 14, 8, 12, 10, 18, 22, 20, 24, 36, 26, 34, 28, 32, 30, 38, 42, 40, 44, 156, 46, 154, 48, 152, 50, 150, 52, 148, 54, 146, 56, 144, 58, 142, 60, 140, 62, 138, 64, 136, 66, 134, 68, 132, 70, 130, 72, 128, 74, 126, 76, 124, 78, 122, 80, 120, 82, 118, 84, 116, 86, 114, 88, 112, 90, 110, 92
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
This is the lexicographically earliest sequence of distinct nonnegative terms with this property.
|
|
LINKS
|
|
|
EXAMPLE
|
a(1) + a(2) = 0 + 2 = 2 (no odd digit is present);
a(2) + a(3) = 2 + 4 = 6 (no odd digit is present);
a(3) + a(4) = 4 + 16 = 20 (no odd digit is present); etc.
|
|
MATHEMATICA
|
Block[{a = {0}}, Do[Block[{k = 2}, While[Nand[FreeQ[a, k], AllTrue[IntegerDigits@ Total[a[[-1]] + k], EvenQ]], k += 2]; AppendTo[a, k]], {i, 2, 71}]; a] (* Michael De Vlieger, Nov 12 2020 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|