OFFSET
1,2
COMMENTS
A Collatz-Fibonacci mixture. Conjecture : sequence diverges to infinity.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(4)=9 a(5)=7 so gcd(a(4)+a(5),4)=4 and hence a(6)=16/4=4.
MAPLE
f:= proc(n) option remember;
(procname(n-1)+procname(n-2))/igcd(procname(n-1)+procname(n-2), 4)
end proc:
f(1):= 1: f(2):= 4:
map(f, [$1..100]); # Robert Israel, Jan 05 2018
MATHEMATICA
a[n_] := a[n] = Switch[n, 1, 1, 2, 4, _, (a[n-1] + a[n-2])/GCD[a[n-1] + a[n-2], 4]];
Table[a[n], {n, 1, 100}] (* Jean-François Alcover, May 17 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 12 2002
STATUS
approved