login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A087849
a(n) = a(a(a(n-1))) + abs(2*a(n-1)-n) starting with 1,1.
0
1, 1, 2, 1, 4, 3, 2, 5, 2, 7, 4, 5, 4, 7, 2, 13, 10, 4, 12, 8, 9, 5, 14, 6, 15, 5, 18, 9, 12, 10, 13, 7, 20, 11, 14, 10, 19, 5, 30, 27, 17, 15, 14, 18, 10, 28, 11, 27, 9, 33, 23, 13, 28, 4, 48, 58
OFFSET
1,3
COMMENTS
Undefined beyond the terms given. - Joerg Arndt, Dec 18 2022
CROSSREFS
Sequence in context: A214918 A328394 A087850 * A075015 A205558 A082494
KEYWORD
nonn,less,fini,full
AUTHOR
Roger L. Bagula, Oct 08 2003
EXTENSIONS
Edited and undefined terms removed by Joerg Arndt, Dec 18 2022
STATUS
approved