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!)
A330706 Numbers m such that the prime factorization of m! contains no composite exponents. 1
1, 2, 3, 4, 5, 8, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This sequence is finite and a(7) = 14 is the last term. Nagura (see references) proves that for n >= 25, there is always a prime between n and 1.2*n. Hence, for any prime p > 25, there is always a number m between 4p and 4.8*p, and so floor(m/p) = 4. Since by assumption p > 4, floor(floor(m/p)/p) = 0 and so m! is divisible by p^4 but not p^5. It remains to check the primes up to 25 individually. - Charles R Greathouse IV, Apr 14 2020
LINKS
J. Nagura, On the interval containing at least one prime number, Proc. Japan Acad., 28 (1952), 177-181.
EXAMPLE
4 is a term since 4! = (2^3)*(3^1) and the multiplicity of 2 is 3 which is prime and the multiplicity of 3 is 1.
MATHEMATICA
Select[Range[100], !AnyTrue[FactorInteger[#!][[;; , 2]], CompositeQ] &] (* Amiram Eldar, Mar 29 2020 *)
PROG
(PARI)
ok(n)={my(f=factor(n!)[, 2]); for(i=1, #f, if(f[i]<>1 && !isprime(f[i]), return(0))); 1}
{select(ok, [1..100])} \\ Andrew Howroyd, Mar 29 2020
(PARI) f(m, p)=my(s); while(m\=p, s+=m); s;
is(n)=forprime(p=2, n\4+1, if(!isprime(f(n, p)), return(0))); 1;
select(is, [1..25]) \\ Charles R Greathouse IV, Apr 14 2020
CROSSREFS
Sequence in context: A211696 A357533 A152526 * A162901 A333785 A162900
KEYWORD
nonn,fini,full
AUTHOR
Devansh Singh, Mar 29 2020
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 1 02:58 EDT 2024. Contains 373008 sequences. (Running on oeis4.)