Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °
| |
|
|
You are not logged in. #26 2012-09-16 01:14:44
Re: Any recommendations?Let's say we want the 8th unrestricted partition or p(8). with n = -4, -3, -2, -1, 0, 1, 2, 3, 4 why we go from -4 to 4 will be clearer when you do some these yourself. Anyway, this generates the sequence you only keep numbers whose absolute value is < 8 and do not equal 0. So the sequence becomes: Now the absolute value of each of those numbers is subtracted from 8 to get: p(8) = p(8-1) ± p(8-2) ± p(8-5) ± p(8-7) that becomes p(8) = p(7) ± p(6) ± p(3) ± p(1) To get the correct signs instead of ± , look at the sequence. If the number that is subtracted from 8 is positive then the ± becomes + if it is negative then it becomes negative. In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #27 2012-09-16 01:31:21
Re: Any recommendations?Wikipedia provides this program: Code: pentagonal = lambda n : n*(3*n-1)/2
def generalised_pentagonal(n): # 0, 1, -1, 2, -2
if n < 0: return 0
if n%2 == 0: return pentagonal(n/2+1)
else: return pentagonal(-(n/2+1))
pt = [1]
for n in range (1, 1000+1):
r = 0
f = -1
i = 0
while 1:
k = generalised_pentagonal(i)
if k > n:
break
if i%2==0: f = -f
r += f*pt[n - k]
i += 1
pt.append(r)
print ptI just replaced the condition of the loop with what I require 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'The whole person changes, why can't a habit?' -65 #28 2012-09-16 03:09:23
Re: Any recommendations?Hi; In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #29 2012-09-16 15:15:57
Re: Any recommendations?Yes! Last edited by Agnishom (2012-09-16 15:17:43) 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'The whole person changes, why can't a habit?' -65 #30 2012-09-16 15:24:00
Re: Any recommendations?Hi Agnishom; In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #31 2012-09-16 16:42:26
Re: Any recommendations?Grand Idea! 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'The whole person changes, why can't a habit?' -65 #32 2012-09-18 14:48:13
Re: Any recommendations?By the Way, Once upon a time you had a signature about wastage of time and money. Would you please explain that? 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'The whole person changes, why can't a habit?' -65 #33 2012-09-18 20:18:37
Re: Any recommendations?Hi Agnishom; In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #34 2012-09-18 22:28:52
Re: Any recommendations?Something like this: 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'The whole person changes, why can't a habit?' -65 #35 2012-09-19 04:21:26
Re: Any recommendations?Hi Agnishom; In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #36 2012-09-19 22:10:04
Re: Any recommendations?At that time I never understood what they were as I did not have the concept of Signatures. They seemed very confusing to me
What is the meaning of public incredulity? 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'The whole person changes, why can't a habit?' -65 #37 2012-09-19 23:15:31
Re: Any recommendations?It means, that big discoveries are looked at with disbelief by the general public. The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón #38 2012-09-20 00:06:53
Re: Any recommendations?Hi all; In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #39 2012-09-20 00:20:54
Re: Any recommendations?How close? The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón #40 2012-09-20 00:24:56
Re: Any recommendations?Pretty close... In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #41 2012-09-20 00:26:55
Re: Any recommendations?Where do the La***ta files come in? The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón #42 2012-09-20 00:34:04
Re: Any recommendations?There is a difference between how Marshall McLuhan and I interpret that quote. In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. |