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!)
A055597 Powers of 2 in phi(n!). 1
0, 0, 1, 3, 5, 6, 7, 10, 10, 11, 12, 14, 16, 17, 17, 21, 25, 26, 27, 29, 29, 30, 31, 34, 34, 35, 35, 37, 39, 40, 41, 46, 46, 47, 47, 49, 51, 52, 52, 55, 58, 59, 60, 62, 62, 63, 64, 68, 68, 69, 69, 71, 73, 74, 74, 77, 77, 78, 79, 81, 83, 84, 84, 90, 90, 91, 92, 94, 94, 95, 96 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = A007814(A048855(n)) = A007814(A000010(n!)).
EXAMPLE
For n=8, 8! = 40320 = 128*315, phi(40320) = 9216 = 9*1024, so a(8)=10, while the exponent of 2 in 8! is only 7. Exponents of 2 are larger in phi(n!) than in n!.
PROG
(Python)
from math import factorial, prod
from sympy import primerange
from fractions import Fraction
def A055597(n): return (~(m:=(factorial(n)*prod(Fraction(p-1, p) for p in primerange(n+1))).numerator)&m-1).bit_length() # Chai Wah Wu, Jul 06 2022
CROSSREFS
Sequence in context: A163621 A124194 A359506 * A053048 A154663 A028983
KEYWORD
nonn
AUTHOR
Labos Elemer, Jul 11 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 April 19 05:19 EDT 2024. Contains 371782 sequences. (Running on oeis4.)