A232798 Sequence (or tree) generated by these rules: 1 is in S, and if x is in S, then x + 1, 3*x - 1 and 3*x + 1 are in S, and duplicates are deleted as they occur.
1, 2, 4, 3, 5, 7, 11, 13, 8, 10, 6, 14, 16, 20, 22, 12, 32, 34, 38, 40, 9, 23, 25, 29, 31, 17, 19, 15, 41, 43, 47, 49, 21, 59, 61, 65, 67, 35, 37, 33, 95, 97, 101, 103, 39, 113, 115, 119, 121, 26, 28, 24, 68, 70, 74, 76, 30, 86, 88, 92, 94, 18, 50, 52, 56
Offset: 1
Examples
Each x begets x + 1, 3*x - 1 and 3*x + 1, but if any of these has already occurred it is deleted. Thus, 1 begets (2,4); then 2 begets (3,5,7) and 4 begets (11,13), making g(3) = (3,5,7,11,13), etc.
Links
- Clark Kimberling, Table of n, a(n) for n = 1..4000
Comments