All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Non-divisibility of factorials (Posted on 2024-10-16) Difficulty: 3 of 5
For what values of n is

(n2-1)!

not divisible by

(n!)n ?

No Solution Yet Submitted by Jer    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Some Thoughts Exploration a bit further, same result Comment 2 of 2 |
Appears to be 4 and all primes

----------
import sympy
def isprime(n):
    return sympy.isprime(n)
primes = [i for i in range(200) if isprime(i)]

def fact(n):
    if n == 1 or n == 0:
        return 1
    ans = 1
    for i in range(n):
        ans *= (i+1)
    return ans

ans = []
for n in range(1,200):
    big = fact(n**2 - 1)
    lit = (fact(n))**n
    if big%lit != 0:
        print(n,isprime(n))
        ans.append(n)

  Posted by Larry on 2024-10-16 19:13:56
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (12)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information