| Hosted by CoCalc | Download
Kernel: SageMath 9.0
# this is something

Standard number theoretic functions

print(gcd(2011946, 1450)) print(factor(2018)) c = factorial(250) print(c) print([valuation(c,p) for p in prime_range(2,23)]) print(next_prime(2005)) print(previous_prime(2005)) print('%s %s %s' % (divisors(28), sum(divisors(28)), 2*28))
2 2 * 1009 3232856260909107732320814552024368470994843717673780666747942427112823747555111209488817915371028199450928507353189432926730931712808990822791030279071281921676527240189264733218041186261006832925365133678939089569935713530175040513178760077247933065402339006164825552248819436572586057399222641254832982204849137721776650641276858807153128978777672951913990844377478702589172973255150283241787320658188482062478582659808848825548800000000000000000000000000000000000000000000000000000000000000 [244, 123, 62, 40, 24, 20, 14, 13] 2011 2003 [1, 2, 4, 7, 14, 28] 56 56
print('hi')
hi