OFFSET
1,6
COMMENTS
Non-powers of 2 arise at the beginning of iteration chains without interruption. Analogous to A053036.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
For n = 10, the initial value is 10! = 3628800 and the iteration chain is {3628800, 829440, 221184, 73728, 24576, 8192, 4096, 2048, 1024, 512, 256, 128, 64, 32, 16, 8, 4, 2, 1}. Its length is 19 and there are 5 values that are not powers of 2: 10!, ..., 24576. Thus a(10) = 5.
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Feb 25 2000
STATUS
approved