Let f(n)={n2+1if n is oddn2if n is even.
For how many integers n from 1 to 100, inclusive, does f(f(⋯f(n)⋯))=1 for some number of applications of f?
Hey there, Floccinaucini!
This problem has already been answered here: https://web2.0calc.com/questions/let-for-how-many-integers-n-from-1-to-100-inclusive
Hope this helped!
( ゚д゚)つ Bye