A303936 A fractal-like sequence: erasing all pairs of contiguous terms that do not sum up to a prime leaves the sequence unchanged.
1, 2, 3, 4, 5, 6, 8, 9, 7, 4, 13, 11, 12, 10, 19, 14, 5, 6, 17, 15, 8, 9, 20, 16, 7, 4, 13, 18, 21, 22, 23, 24, 25, 28, 26, 11, 12, 29, 27, 10, 19, 34, 30, 31, 32, 35, 33, 14, 5, 6, 17, 36, 38, 15, 8, 9, 20, 39, 37, 16, 7, 4, 13, 18, 41, 40, 21, 22, 45, 42, 47
Offset: 1
Keywords
Examples
Parentheses are added around each pair of terms that don't sum up to a prime: 1, 2, 3, (4,5), (6,8), (9,7), 4, (13,11), (12,10), (19,14), 5, 6, (17,15), 8, 9, (20,16), 7, 4, 13, Erasing all the parenthesized contents yields 1, 2, 3, (...), (...), (...), 4, (.....), (.....), (.....), 5, 6, (.....), 8, 9, (.....), 7, 4, 13, We see that the remaining terms slowly rebuild the starting sequence.
Links
- Lars Blomberg, Table of n, a(n) for n = 1..1000
Comments