Posted: Submitted by richardhp on 22 November 2007 - 11:26pm. |
|
![]()
Joined: 2007-10-01
Posts: 167 |
cj showed me this today, basically you take any number and some multiples of it, if you then put these multiples as the columns of a matrix and take the determinant of that matrix, you get a multiple of the original number. eg, take n = 17 then two multiples 34 and 85. then the determinant of: is -17, which is a multiple of 17. this seems to work for any number and 3 digit numbers and 3×3 matrices too. any ideas why this works? |
Posted: 23 November 2007 - 12:53am |
|
![]()
Joined: 2007-10-03
Posts: 373 |
This post is decorative. |
Posted: 23 November 2007 - 12:58am |
|
![]()
Joined: 2007-10-03
Posts: 373 |
Let α be a two digit number and let β and γ be your multiples : α=10φ+ψ, βα = 10a + b and γα=10c+d
But αβγ=γ(βα)γ=β(γα) This is a multiple of α. In your case α=17 10a+b=βα=34 10c+d=γα=85 Now I know this explanation is rubbish as it doesn't explain why it works, it just shows it's true for 2*2 matrices. Edit : Well that went quite wrong. I made a silly mistake and then tried to correct it, thus giving two posts ! |
Posted: 23 November 2007 - 1:04am |
|
![]()
Joined: 2006-11-02
Posts: 1004 |
Yeah, I'm pretty sure this works in general as I've verified it with a 10 by 10 matrix and a five digit divisor last night. I'll get around to trying to prove it later I guess. |
Posted: 1 December 2007 - 4:54pm |
|
![]()
Joined: 2006-11-04
Posts: 53 |
I think this is a pretty solid proof: Lemma. For an
Proof. I will introduce the notation Choose rows
In order to find a general expression for
So in general
(where the left sum disappears if We multiply by
And then mutiplying by
We now show by induction that it is the case that the sum of the
which we call For a base case we put
which agrees with the formula above for To perform the inductive step we suppose by hypothesis
holds. If we take the
We then add the
Adding this to the sum of the first
So At this stage it is possible to simply `plug in'
which is a sum of zero terms and is therefore equal to 0. In case
The
Example: If we sum e.g.
And it will always be the case that you only need to write the terms Now the: Theorem. If Proof. Write We can expand the determinant of
Substituting in our expression for
By the above lemma, Since every element in the matrix is an integer, all the cofactors Then we have
which is sums and integers multiples of integers, therefore it is an Therefore Example:
Therefore Sorry I don't know how to do the matrices on the forum! I won't pretend I didn't spend all of yesterday trying to prove that, and today writing it convincingly! |
Posted: 1 December 2007 - 7:45pm |
|
![]()
Joined: 2006-08-31
Posts: 694 |
You need to be an exec member to use & in posts I'm afraid, just a side effect of the way the website has to work. |
Posted: 2 December 2007 - 4:05am |
|
![]()
Joined: 2006-11-02
Posts: 1004 |
Really? Why is that? |
Posted: 2 December 2007 - 3:36pm |
|
![]()
Joined: 2006-08-31
Posts: 694 |
I meant: to use a & in LaTeX. You need to be an exec member do you can post things without having your posts go through the html filter. Essentially every post is stored in the DB verbatim. Then when it comes to render the page Drupal runs that input though an input format. You can define different input formats consisting of different input filters. Input filters can do many things, one changes The default input format on the site, has four filters:
And they are applied in that order, so: & is changed to Hope that clears things up, it does bug me though, if I could find a way I would get & working for |
Posted: 2 December 2007 - 8:26pm |
|
![]()
Joined: 2006-11-02
Posts: 1004 |
Right, that makes sense, but how come it does it for me as well even though I'm exec ( |
Posted: 2 December 2007 - 10:08pm |
|
![]()
Joined: 2006-08-31
Posts: 694 |
You'll want 'Unrestricted LaTeX + Textile', do you have that? |
Posted: 3 December 2007 - 1:53am |
|
![]()
Joined: 2006-11-02
Posts: 1004 |
Nope, that's the thing, I only have "Filtered HTML", "Full HTML" and "LaTeX + Textile". |
Posted: 3 December 2007 - 7:26am |
|
![]()
Joined: 2006-10-18
Posts: 26 |
Yeah < and > don't work in Same reason: they get changed to & lt; and & gt; |
Posted: 3 December 2007 - 8:08pm |
|
![]()
Joined: 2006-10-01
Posts: 427 |
Moving briefly away from the intricacies of the latex command line, Sammy's proof shows that there is nothing special about the decimal expansion in particular, meaning that this should work for numbers in any base. There is a general result in here, I'm sure of it. Something about homomorphisms of truncated polynomial rings... ...Algebra kids- make the magic happen! |
Posted: 4 December 2007 - 8:50pm |
|
![]()
Joined: 2007-10-03
Posts: 373 |
Hey guys, with
all multiples of the original number m (where b is the base we're working in). Take the matrix Notice But
So in the last column of AB we've got our original integers. P.S. : That Matrix LaTeX typesetting is nasty without the &s. |
Posted: 4 December 2007 - 9:08pm |
|
![]()
Joined: 2006-08-31
Posts: 694 |
I'd rather make a it look nasty than have a huge open security hole. If you want to fix the issue, join the website team, and I'll give you access to the code. |
Posted: 4 December 2007 - 10:03pm |
|
![]()
Joined: 2007-10-03
Posts: 373 |
Sorry didn't want to sound mean I don't mind it being nasty anyways, it's a challenge :p |
Posted: 4 December 2007 - 10:13pm |
|
![]()
Joined: 2006-08-31
Posts: 694 |
If you really want to use them, do, and let me know, and I'll change it to a different input format, so it looks nicer. |
Posted: 5 December 2007 - 12:16am |
|
![]()
Joined: 2006-10-01
Posts: 427 |
Mean or not, that is a tasty proof old boy, rather craps all over my generalization idea though... Oh well, you win some, you lose some... |
Posted: 5 December 2007 - 12:17am |
|
![]()
Joined: 2007-10-03
Posts: 373 |
Yeah I thought that too. |
Posted: 5 December 2007 - 4:49am |
|
![]()
Joined: 2006-11-02
Posts: 1004 |
Nice one, very cool proof! |
Posted: 6 December 2007 - 2:43am |
|
![]()
Joined: 2007-10-04
Posts: 188 |
I like the way you ended it with an exclamation mark! |