login
A341819
Lexicographically earliest sequence of distinct terms > 0 such that the n-th digit of the sequence is present in the absolute difference |a(n) - a(n+1)|.
4
1, 2, 4, 8, 16, 3, 9, 6, 15, 21, 5, 10, 12, 11, 26, 7, 17, 18, 20, 19, 29, 27, 33, 40, 22, 39, 23, 31, 43, 13, 14, 53, 24, 63, 34, 41, 28, 25, 49, 59, 30, 32, 35, 44, 42, 45, 48, 36, 50, 37, 38, 51, 52, 56, 61, 58, 46, 60, 54, 57, 70, 66, 62, 47, 67, 75, 55, 80, 76, 85, 90, 71, 68, 78, 65, 77, 64
OFFSET
1,2
LINKS
EXAMPLE
The 1st digit of the sequence [1] is present in |a(1) - a(2)| = |1 - 2| = 1;
the 2nd digit of the sequence [2] is present in |a(2) - a(3)| = |2 - 4| = 2;
the 3rd digit of the sequence [4] is present in |a(3) - a(4)| = |4 - 8| = 4;
the 4th digit of the sequence [8] is present in |a(4) - a(5)| = |8 - 16| = 8;
the 5th digit of the sequence [1] is present in |a(5) - a(6)| = |16 - 3| = 13;
the 6th digit of the sequence [6] is present in |a(6) - a(7)| = |3 - 9| = 6;
the 7th digit of the sequence [3] is present in |a(7) - a(8)| = |9 - 6| = 3;
etc.
CROSSREFS
Cf. A341818 (sum), A341820 (product), A341821 (cumulative sum).
Sequence in context: A101943 A331440 A247243 * A352387 A110001 A302030
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Carole Dubois, Feb 20 2021
STATUS
approved