login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A097029
Fixed points when the function f(x) = phi(x) + floor(x/2) is iterated, i.e., solutions to f(x) = x.
6
1, 2, 3, 4, 8, 15, 16, 32, 64, 128, 255, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65535, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 67108864, 83623935, 134217728, 268435456, 536870912, 1073741824, 2147483648, 4294967295
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?
83623935 is the next such term (see also A050474 and A203966). - Michel Marcus, Nov 13 2015
LINKS
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