OFFSET
1,3
LINKS
Georg Fischer, Table of n, a(n) for n = 1..1000
EXAMPLE
f(1) = 1/1, so a(1) = 1.
f(2) = 1/2, so a(2) = 1.
f(3) = f(1) * f(2) + 1 = 3/2, so a(3) = 3.
f(4) = f(1) * f(3) + 1 = 1 * 3/2 + 1 = 5/2, so a(4) = 5.
f(5) = f(2) * f(3) + 1 = 1/2 * 3/2 + 1 = 7/4, so a(5) = 7.
f(n) for n>=1: 1, 1/2, 3/2, 5/2, 7/4, 9/4, 19/4, 29/8, 43/8, 53/8, 79/16, 149/16, 187/16, 293/32, 583/32, 849/32 ...
PROG
(PARI) f(n) = if (n<=2, 1/n, my(x=n\2); if (n%2, f(x)*f(x+1)+1, f(x-1)*f(x+1)+1));
a(n) = numerator(f(n)); \\ Michel Marcus, Nov 05 2020
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
William Phoenix Marcum, Nov 04 2020
STATUS
approved