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 |