A333722 Lexicographically earliest permutation of the positive integers such that a(n), a(n+1) and the product a(n)*a(n+1) have in common at least one identical substring.
1, 10, 11, 12, 2, 21, 15, 5, 25, 29, 28, 24, 22, 26, 6, 16, 36, 37, 39, 34, 14, 13, 3, 31, 23, 27, 71, 7, 97, 69, 56, 45, 35, 38, 18, 48, 8, 81, 17, 47, 42, 44, 41, 4, 46, 40, 20, 30, 50, 51, 52, 53, 55, 57, 65, 54, 49, 19, 61, 60, 66, 76, 64, 62, 63, 96, 67, 68, 85, 59, 75, 58, 83, 33, 93, 43, 32, 72, 92, 98, 80, 70, 90, 91, 9
Offset: 1
Examples
a(1) = 1 and a(2) = 10 share with their product 10 the substring 1; a(2) = 10 and a(3) = 11 share with their product 110 the substring 1; a(3) = 11 and a(4) = 12 share with their product 132 the substring 1; a(4) = 12 and a(5) = 2 share with their product 24 the substring 2; a(5) = 2 and a(6) = 21 share with their product 42 the substring 2; etc.
Links
- Jean-Marc Falcoz, Table of n, a(n) for n = 1..20002
Crossrefs
Cf. A333723 (lists the products a(n) * a(n+1) in their order of appearance here), A333724 (lists the biggest substring shared by a(n), a(n+1) and (a(n)*a(n+1)) in their order of appearance here), A262323 (is the lexicographically earliest sequence of distinct terms such that the decimal representations of two consecutive terms overlap).