Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
General Discussion
»
Other Discussions
»
Math and Science
»
Math! (and that is not a factorial)
« previous
next »
Print
Pages:
1
2
[
3
]
4
Go Down
Author
Topic: Math! (and that is not a factorial) (Read 17615 times)
0 Members and 4 Guests are viewing this topic.
phenomist
LV4
Regular (Next: 200)
Posts: 132
Rating: +46/-3
Re: Math! (and that is not a factorial)
«
Reply #30 on:
February 24, 2011, 09:54:54 pm »
24: (24,32,40), (18,24,30), (24,70,74), (7, 24, 25)...
840: see 24 example but multiply by 35
So it's not exactly 3.
Logged
Level Designer for Graviter
[Disclaimer: I can't program for my life.]
Xeda112358
they/them
Moderator
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Math! (and that is not a factorial)
«
Reply #31 on:
February 24, 2011, 10:47:23 pm »
Ah, sorry I forgot a few things... While I was taking the Putnam exam I decided to prove that all numbers greater than two were part of a Pythagorean triple. To prove it I came up with an equation that given the length of one leg would return a length of another leg and then I made another that returned a possible length for the hypotenuse.
So what I meant to ask was if there was a list of all numbers that are the leg lengths of three Pythagorean. Here are the equations I came up with:
8b=(3a
2
-6)-(-1)
a
(a
2
+2)
8c=(3a
2
+6)-(-1)
a
(a
2
-2)
EDIT:
Here are the ones I came up with on the Putnam:
Even values of 'a'
b=a
2
/4-1
c=a
2
/4+1
Odd values of 'a'
b=(a
2
-1)/2
c=(a
2
+1)/2
«
Last Edit: February 24, 2011, 10:50:16 pm by Xeda112358
»
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
phenomist
LV4
Regular (Next: 200)
Posts: 132
Rating: +46/-3
Re: Math! (and that is not a factorial)
«
Reply #32 on:
February 25, 2011, 01:21:17 am »
Oh, you're limiting yourself to primitive pythagorean triples only? (so [6,8,10] is invalid because it is simply 2x[3,4,5] ?)
Also, is it three exactly, or at least three?
Logged
Level Designer for Graviter
[Disclaimer: I can't program for my life.]
Xeda112358
they/them
Moderator
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Math! (and that is not a factorial)
«
Reply #33 on:
February 25, 2011, 01:23:14 am »
Three exactly. I do not believe there are more than 3 with those strictures.
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
phenomist
LV4
Regular (Next: 200)
Posts: 132
Rating: +46/-3
Re: Math! (and that is not a factorial)
«
Reply #34 on:
February 25, 2011, 02:29:48 am »
Hm... are you counting certain triples like [20,21,29]? Not sure if they're fitting in the current description.
Logged
Level Designer for Graviter
[Disclaimer: I can't program for my life.]
Xeda112358
they/them
Moderator
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Math! (and that is not a factorial)
«
Reply #35 on:
February 25, 2011, 08:06:18 am »
Yes, that should count... is there something special about it that I am not seeing or is it part of two other triples?
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
phenomist
LV4
Regular (Next: 200)
Posts: 132
Rating: +46/-3
Re: Math! (and that is not a factorial)
«
Reply #36 on:
February 25, 2011, 06:17:41 pm »
Currently, you're using the following:
Even values of 'a'
b=a^2/4-1
c=a^2/4+1
Odd values of 'a'
b=(a^2-1)/2
c=(a^2+1)/2
which means you're assuming that for odd a, b and c are 1 apart; for even a, b and c are 2 apart. This works usually, but sometimes fails. (e.g. a=20, c-b=8, not 2)
As mentioned a bit earlier in this thread, the generalized Pythagorean triple can be written in the form (m^2-n^2,2mn,m^2+n^2). If you're looking at only primitive triples, then m,n should be coprime.
Note that the first leg is (m+n)(m-n), so factoring should make this task easy.
Logged
+1/-0 karm for this message
Level Designer for Graviter
[Disclaimer: I can't program for my life.]
Xeda112358
they/them
Moderator
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Math! (and that is not a factorial)
«
Reply #37 on:
February 25, 2011, 06:26:03 pm »
Yes, I know about the equations, I was just wondering if there was a proven list I could compare against for what I am working on.
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
phenomist
LV4
Regular (Next: 200)
Posts: 132
Rating: +46/-3
Re: Math! (and that is not a factorial)
«
Reply #38 on:
February 25, 2011, 06:31:35 pm »
Using your definition:
http://oeis.org/A111766
EDIT: Notice that there's a closed form!
«
Last Edit: February 25, 2011, 06:32:20 pm by phenomist
»
Logged
+1/-0 karm for this message
Level Designer for Graviter
[Disclaimer: I can't program for my life.]
Xeda112358
they/them
Moderator
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Math! (and that is not a factorial)
«
Reply #39 on:
February 25, 2011, 06:33:17 pm »
Aha! Thank you♥! I knew there had to be one between 24 and 840 ♥ Thank you ♥
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
Xeda112358
they/them
Moderator
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Math! (and that is not a factorial)
«
Reply #40 on:
November 06, 2012, 09:30:18 am »
Necro update!
So, if you look at the image attached, that is a formula I was working on for the past few years. I made a rough estimate of how many pages of notes I put into this problem and it was over a hundred
Well, guess what? In the time that I have worked on it, I was able to prove the formula worked and that it extended to any function that you can find derivatives and integrals for (and since you can use Fourier analysis to find a function for just about anything, you are good for just about anything). However, I was still having doubts that it was original. Well, last week I was looking up something only slightly related when I noticed a particular sequence:
1
1/2
1/6
-1/30
1/42
-1/30
At this point, I got excited. I know these numbers! Then the next term: 5/66. I was ecstatic! These were the coefficients to my function and they are known as the Bernoulli numbers. See, the issue is that when I was writing down the numbers, I computed the coefficients, but when you look them up on the internet and whatnot, most people simply refer to them as B
n
. Not very helpful for me. On top of that, my function is a generalisation of the Euler-Macluarin formula which cannot be google searched very easily (unless you know the name) and most people don't know of it or have never worked with it! So what have I done with it in the past few months?
I have made some pretty cool identities including one dealing with the coefficients and "e" (so now I have gone back and rewritten e in terms of the Bernoulli numbers). I now have two representations for sum(sin(x),x,1,n) which can be compared and I can derive more relationships (one of them uses imaginary numbers, the other uses sine, cosine, and tangent. We know where this is going
Another proof of Euler's identity). But more importantly to me, I can apply this to analysing the Riemann Zeta function which I did a bunch of research on over the summer (and I've even presented about it a few times).
I also use this quite a bit in my statistics class and it has been very useful. For the curious, any polynomial with positive integer powers will result in a finite closed form expression. Any polynomial using exponentials, trig functions, or non-integer powers will have an series with infinitely many terms. Luckily, it converges pretty rapidly to the desired sum.
If you want to have fun, look at "identity 0" below. If you replace a with e, all of those ln(a) terms get cancelled to 1
Also, you can use this to derive that the "first Bernoulli numbers" divided by the "second Bernoulli numbers" (the only difference is that B
1
is negative in the first, positive in the second) will equal e
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
aeTIos
Nonbinary computing specialist
LV12
Extreme Poster (Next: 5000)
Posts: 3915
Rating: +184/-32
Re: Math! (and that is not a factorial)
«
Reply #41 on:
November 08, 2012, 08:59:42 am »
Uhh. Must've been a ton of work to make up that formula.
Logged
I'm not a nerd but I pretend:
Xeda112358
they/them
Moderator
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Math! (and that is not a factorial)
«
Reply #42 on:
December 11, 2012, 05:30:48 pm »
More randomness here
Basically, I was trying to evaluate pi when I was in 8th grade, and I found some notes on it. After updating the syntax a little (I had not been exposed to limits at that point), I realised a neat little identity and I tried to prove it
This reveals an interesting thing about the limit of sin(x) as x approaches zero at an exponential rate compared to the limit of 2^x as x approaches zero. Anyways, another neat fact that this revealed to me is that if you divide pi by the nested radical (see the attached image, at the bottom), it will converge to a power of 2. For example:
pi/sqrt(2) is about 2.22144 (2
1
=2)
pi/sqrt(2-sqrt(2)) is about 4.104688612 (2
2
=4)
pi/sqrt(2-sqrt(2+sqrt(2))) is about 8.051636 (2
3
=8)
pi/sqrt(2-sqrt(2+sqrt(2+sqrt(2)))) is about 16.025731 (2
4
=16)
pi/sqrt(2-sqrt(2+sqrt(2+sqrt(2+sqrt(2))))) is about 32.01285466 (2
5
=32)
Anyways, take a look at the proof
I devised it when I was trying to show that it did in fact converge
«
Last Edit: December 11, 2012, 05:56:07 pm by Xeda112358
»
Logged
+1/-0 karm for this message
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
Yeong
Not a bridge
LV12
Extreme Poster (Next: 5000)
Posts: 3739
Rating: +278/-12
Survivor of Apocalypse
Re: Math! (and that is not a factorial)
«
Reply #43 on:
December 11, 2012, 05:36:18 pm »
I don't know if I'm understanding right or wrong, but in the last part, shouldn't it be 2^(x+1) instead of 2^(x-1) ?
Logged
Sig wipe!
Xeda112358
they/them
Moderator
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Math! (and that is not a factorial)
«
Reply #44 on:
December 11, 2012, 05:38:03 pm »
No, I took out the /2. 2
x
/2=2
x
*2
-1
=2
x-1
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
Print
Pages:
1
2
[
3
]
4
Go Up
« previous
next »
Omnimaga
»
Forum
»
General Discussion
»
Other Discussions
»
Math and Science
»
Math! (and that is not a factorial)