OFFSET
1,2
COMMENTS
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 pairs of parentheses;
2) always start the content inside a pair of parentheses with the smallest integer C > 2 not yet present inside another pair of parentheses;
3) always end the content inside a pair of parentheses with the smallest integer I > 2 not yet present inside another pair of parentheses such that the sum C + I is not a Fibonacci number;
4) after a(1) = 1 and a(2) = 2, always try to extend the sequence with a duplicate of the oldest term of the sequence not yet duplicated; if this leads to a contradiction, open a new pair of parentheses.
LINKS
Lars Blomberg, Table of n, a(n) for n = 1..999
EXAMPLE
Parentheses are added around each pair of terms that don't sum up to a Fibonacci:
1, 2, (3,4), (9,5), 3, (10,6), (7,8), (13,11), (23,12), (22,14), (20,15), (19,16), (18,17), 4, 9, (25,21), ...
Erasing all the parenthesized contents yields
1, 2, (...), (...), 3, (....), (...), (.....), (.....), (.....), (.....), (.....), (.....), 4, 9, (.....), ...
We see that the remaining terms slowly rebuild the starting sequence.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Lars Blomberg and Eric Angelini, May 03 2018
STATUS
approved