OFFSET
1,1
COMMENTS
Iterates diverge for all n except n>2 in A005248.
LINKS
K. S. Stolarsky, A prelude to the 3x+1 problem, J. Differ. Equations Appl. 4 (1998), no. 5, 451-461.
FORMULA
f([phi n]) = [phi^2 n]+2; f([phi^2 n]) = n. phi = (1+sqrt(5))/2.
a(n) = ceiling(ceiling(n/phi) * phi^2) + 1 if n is in A000201, otherwise a(n) = ceiling(n/phi^2) = A189663(n+1). - Sean A. Irvine, Aug 15 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved