OFFSET
1,2
COMMENTS
After a(1) = 1, the fixed point reached is always a prime. Question: Do all odd primes occur infinitely often?
Yes. All odd primes occur infinitely often. A060681(2*k) = k + 1 and so for each k > 1 there exists an integer m such that a(m) = p where p is an odd prime. - David A. Corneth, Jan 07 2019
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20669
FORMULA
a(2^k * p - 2^(k+1) + 2) = a(A000079(k) * p - A000918(k+1)) = p for k >= 0. - David A. Corneth, Jan 08 2019
MATHEMATICA
{1}~Join~Array[FixedPoint[1 + (# - Divisors[#][[-2]]) &, #] &, 89, 2] (* Michael De Vlieger, Jan 04 2019 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 04 2019
STATUS
approved