[sage-support] factorial

2020-10-28 Thread Henri Girard
Hi, I would like to know if it is possible to use ! instead factorial like in maths ? factorial(1/2) = (1/2)! Any help welcome Henri -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails f

Re: [sage-support] Factorial Carry Value in Python

2013-11-14 Thread Christophe Bal
> while i>0: > > d=n//factorial(i) > > ans.append(d) > > n-=d*factorial(i) > > i-=1 > > return ans > > > > Tony Wickstead > > > > *From:* sage-support@googlegroups.com [mailto: > sage-support@googl

RE: [sage-support] Factorial Carry Value in Python

2013-11-14 Thread Anthony Wickstead
n-=d*factorial(i) i-=1 return ans Tony Wickstead From: sage-support@googlegroups.com [mailto:sage-support@googlegroups.com] On Behalf Of Juan Grados Sent: 13 November 2013 21:45 To: sage-support Subject: [sage-support] Factorial Carry Value in Python Let be s between 1 and l!-1

[sage-support] Factorial Carry Value in Python

2013-11-13 Thread Juan Grados
Let be s between 1 and l!-1 an integer value then s can expressed uniquely than: s = u1*(l-1)! + u2*(l-2)!+ ... ul*0 Is there any function to find the values u1, u2, ..., ul in SAGE or python? -- - MSc. Juan del Carmen Grados V