The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A053045 EulerPhi is iterated with initial value n!; a(n) = number of powers of 2 among the iterates. 3
1, 2, 2, 4, 6, 7, 8, 11, 11, 14, 17, 19, 21, 23, 25, 29, 33, 34, 35, 39, 40, 44, 48, 51, 55, 58, 58, 61, 64, 67, 70, 75, 78, 83, 86, 88, 90, 92, 94, 99, 104, 106, 108, 113, 115, 120, 125, 129, 131, 136, 140, 144, 148, 149, 154, 158, 159, 163, 167, 171, 175, 179, 180 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Powers of 2 arise at the end of iterations without interruption. Analogous to A053035.
LINKS
FORMULA
a(n) = A049113(n!). - R. J. Mathar, Jan 09 2017
EXAMPLE
For n=10, initial value = 3628800; 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 14 values are powers of 2: 8192, ..., 1. Thus a(10)=14.
MAPLE
A053045 := proc(n)
local a, e;
e := n! ;
a :=0 ;
while e > 1 do
if isA000079(e) then
a := a+1 ;
end if;
e := numtheory[phi](e) ;
end do:
1+a;
end proc:
seq(A053045(n), n=1..18) ; # R. J. Mathar, Jan 09 2017
MATHEMATICA
Table[Count[NestWhileList[EulerPhi, n!, # > 1 &], _?(IntegerQ@ Log2@ # &)], {n, 63}] (* Michael De Vlieger, Aug 15 2017 *)
CROSSREFS
Sequence in context: A162608 A143216 A086536 * A152424 A145804 A227560
KEYWORD
nonn
AUTHOR
Labos Elemer, Feb 25 2000
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 9 04:57 EDT 2024. Contains 373227 sequences. (Running on oeis4.)