Number of iterations of the mapping k->f(k) to reach one of 2, 5, or 29, starting with k=n, and with f(k)=(k^2+4)/d, where d is the next-to-largest divisor of k^2+4, or -1 if the sequence never reaches one of the required values.
A175764
Number of iterations of the mapping k->f(k) to reach one of 2, 5, or 29, starting with k=n, and with f(k)=(k^2+4)/d, where d is the next-to-largest divisor of k^2+4, or -1 if the sequence never reaches one of the required values.
Terms
- a(0) =1a(1) =0a(2) =9a(3) =1a(4) =0a(5) =1a(6) =2a(7) =1a(8) =1a(9) =1a(10) =1a(11) =1a(12) =8a(13) =1a(14) =2a(15) =1a(16) =4a(17) =1a(18) =1a(19) =1a(20) =1a(21) =1a(22) =9a(23) =1a(24) =5a(25) =1a(26) =3a(27) =1a(28) =0a(29) =1
External references
- oeis: A175764