OFFSET
1,2
COMMENTS
Trivial fixed points are the powers of 2. How many nontrivial cases exist like 3, 15, 255, 65535: the first 5 terms of A051179. More?
LINKS
Max Alekseyev, Table of n, a(n) for n = 1..91
EXAMPLE
For fixed points the cycle lengths are A097026(n=fix)=1, but the reverse is not true because long transients may also lead to 1-cycles.
So, e.g., 1910 is not here because its terminal 1-cycle is prefixed by a long transient: {1910, 1715, 2033, 2924, 2806, 2723, 3689, 4724, 4722, 3933, 4342, 4163, 6041, 8192, 8192}.
PROG
(PARI) isok(n) = eulerphi(n) + n\2 == n; \\ Michel Marcus, Nov 13 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Aug 27 2004
EXTENSIONS
a(30)-a(35) from Michel Marcus, Nov 13 2015
a(36)-a(38) from Jinyuan Wang, Jul 22 2021
STATUS
approved