A304337 Lexicographically earliest fractal-like sequence such that the erasure of all pairs of contiguous terms of opposite parity leaves the sequence unchanged.
1, 2, 4, 3, 1, 5, 6, 2, 4, 8, 7, 3, 1, 5, 9, 10, 6, 2, 4, 8, 12, 11, 7, 3, 1, 5, 9, 13, 14, 10, 6, 2, 4, 8, 12, 16, 15, 11, 7, 3, 1, 5, 9, 13, 17, 18, 14, 10, 6, 2, 4, 8, 12, 16, 20, 19, 15, 11, 7, 3, 1, 5, 9, 13, 17, 21, 22, 18, 14, 10, 6, 2, 4, 8, 12, 16, 20, 24, 23, 19, 15, 11, 7, 3, 1
Offset: 1
Examples
Parentheses are added around each pair of terms of opposite parity: (1,2),(4,3),1,(5,6),2,4,(8,7),3,1,5,(9,10),6,2,4,8,(12,11),7,3,1,5,9,(13,14),10,6,2,4,8,12,(16,15),11,7,3,1,5,9,13,(17,18),14,10,6, Erasing all the parenthesized contents yields (...),(...),1,(...),2,4,(...),3,1,5,(....),6,2,4,8,(.....),7,3,1,5,9,(.....),10,6,2,4,8,12,(.....),11,7,3,1,5,9,13,(.....),14,10,6, We see that the remaining terms slowly rebuild the starting sequence.
Links
- Carole Dubois, Table of n, a(n) for n = 1..5000
Comments