login
A351330
A fractal-like sequence: erase all triples of contiguous terms that have an odd sum; the remaining terms rebuild the starting sequence.
2
1, 2, 4, 6, 8, 3, 1, 2, 5, 7, 9, 4, 11, 13, 15, 6, 17, 19, 21, 8, 3, 1, 2, 5, 7, 10, 23, 12, 9, 25, 14, 16, 4, 18, 20, 27, 11, 22, 29, 24, 13, 15, 6, 17, 19, 26, 31, 28, 21, 33, 30, 32, 8, 34, 36, 35, 3, 38, 37, 40, 1, 39, 42, 44, 2, 46, 48, 41, 5, 50, 43, 52, 7, 45, 54, 56, 10, 58, 60, 47, 23, 12, 9, 25, 14
OFFSET
1,2
COMMENTS
This is the lexicographically earliest such sequence starting with a(1) = 1 and showing no duplicate term in any triple to be erased.
The sequence is fractal-like as it embeds an infinite number of copies of itself.
The sequence was built according to these rules (see, in the Example section, the parenthesization technique):
1) no overlapping triple of parentheses; a triple is made of integers X, Y and Z;
2) always start the content inside a pair of parentheses with the smallest integer X > 1 not yet present inside another pair of parentheses and not leading to a contradiction;
3) always follow X with the smallest integer Y > 1 not yet present inside another pair of parentheses and not leading to a contradiction;
4) always end the content inside a pair of parentheses with the smallest integer Z > 1 not yet present inside another pair of parentheses and not leading to a contradiction such that X + Y + Z is odd;
5) after a(1) = 1, a(2) = 2 and a(3) = 4, always try to extend the sequence with a duplicate > 2 of the oldest term of the sequence not yet duplicated; if this leads to a contradiction, open a new pair of parentheses.
LINKS
Eric Angelini, Fabriquons une suite fractale, January 22nd 2022, personal blog (in French).
EXAMPLE
Parentheses are added around each triple of terms that have an odd sum:
(1, 2, 4), (6, 8, 3), 1, 2, (5, 7, 9), 4, (11, 13, 15), 6, (17, 19, 21), 8, 3, 1, 2, 5, 7, (10, 23, 12), 9, (25, 14, 16), 4, (18, 20, 27), 11, (22, 29, 24), 13, 15, 6, 17, 19, (26, 31, 28), 21, (33, 30, 32), 8, (34, 36, 35), 3, (38, 37, 40), 1, (39, 42, 44), 2,...
Erasing all the parenthesized contents yields
(...), (...), 1, 2, (...), 4, (...), 6, (...), 8, 3, 1, 2, 5, 7, (...), 9, (...), 4, (...), 11, (...), 13, 15, 6, 17, 19, (...), 21, (...), 8, (...), 3, (...), 1, (...), 2,...
We see that the remaining terms slowly rebuild the starting sequence.
CROSSREFS
For other erasing criteria, cf. A303845 (prime by concatenation), A303948 (pair sharing a digit), A274329 (pair summing up to a prime), A351329 (triples having an even sum).
Sequence in context: A036839 A004093 A106202 * A220102 A308080 A179657
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Carole Dubois, Feb 07 2022
STATUS
approved