OFFSET
0,4
COMMENTS
The sequence is clearly not monotonic, but the subsequences with even resp. odd indices are both strictly increasing. The sequence is obviously bounded above by the Fibonacci sequence A000045. The subsequence of n-th terms, where n is congruent to 2 or 3 mod 4, is bounded below by the Fibonacci sequence; therefore a(2n)>f(n) for n>1. - Joseph Pedersen (jmp456(AT)psu.edu), Feb 27 2006, rephrased by M. F. Hasler, Feb 18 2013
EXAMPLE
The highest odd integer dividing a(11)=28 is 7. So a(12) = a(10) + 7 = 17 + 7 = 24.
The greatest odd divisor of a(11)=28 is 7, so a(12)= a(10)+7 = 17+7 = 24.
PROG
(PARI) A114990(n, print_all=0, a=1, o=0)={n||a=o; for(n=2, n, print_all&print1(a", "); a=o+a>>valuation(o=a, 2)); a} \\ Old versions (<= 2.4) of PARI might require to write o+0+a>>... - M. F. Hasler, Feb 18 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Feb 22 2006
EXTENSIONS
More terms from Joseph Pedersen (jmp456(AT)psu.edu) and Amy Postell (arp179(AT)psu.edu), Feb 27 2006
Edited & initial term a(0)=0 added by M. F. Hasler, Feb 18 2013
STATUS
approved