OFFSET
1,4
COMMENTS
a(n) <= n.
The Fibonacci Quarterly asks what the range of a(n) is. For example, is a(n) ever equal to 14 or 24?
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..450
Douglas Lind (Proposer), Problem B-51, Elementary Problems and Solutions, The Fibonacci Quarterly, Vol. 2, No. 3 (1964), p. 232; Solution, ibid., Vol. 60, No. 1 (2022), pp. 83-84.
S. Sivasankaranarayana Pillai, On a function connected with phi(n), Bull. Amer. Math. Soc., Vol. 35, No. 6 (1929), pp. 837-841.
FORMULA
EXAMPLE
Iterating phi, F_7 = 13 -> 12 -> 4 -> 2 -> 1 takes 4 steps to reach 1, so a(7) = 4.
MAPLE
a:= proc(n) uses numtheory; local f, k;
f:= phi((<<0|1>, <1|1>>^n)[1, 2]);
for k while f>1 do f:= phi(f) od; k
end:
seq(a(n), n=1..70); # Alois P. Heinz, Mar 03 2022
MATHEMATICA
a[1] = a[2] = 1; a[n_] := Length@NestWhileList[EulerPhi, Fibonacci[n], # > 1 &] - 1; Array[a, 100] (* Amiram Eldar, Mar 03 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 03 2022
STATUS
approved