Wikipedia:Reference desk/Archives/Mathematics/2017 September 5

From Wikipedia, the free encyclopedia
Mathematics desk
< September 4 << Aug | September | Oct >> September 6 >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


September 5[edit]

How to prove that the amount of integers between which are divided by is  ? יהודה שמחה ולדמן (talk) 19:09, 5 September 2017 (UTC)[reply]

Is not that obvious? Ruslik_Zero 20:35, 5 September 2017 (UTC)[reply]
Hint: Show that is such a number, and that it is the largest one. -- Meni Rosenfeld (talk) 20:56, 5 September 2017 (UTC)[reply]
No it's not obvious to me! And please don't go from the end to the beginning.
Show me with the function's definitions and properties. יהודה שמחה ולדמן (talk) 21:00, 5 September 2017 (UTC)[reply]
Is this a good proof?
By the Euclidean algorithm for some .
By properties we get
But is there another way to prove this? I think this is a " proof" (from the way it starts) and I want a " proof". יהודה שמחה ולדמן (talk) 22:47, 5 September 2017 (UTC)[reply]
By the definition of divisibility, the integers divisible by satisfy . We are given . The last implication follows from the definitions of inequality, division, and floor. C0617470r (talk) 07:47, 6 September 2017 (UTC)[reply]
Sorry, didn't get the last step. יהודה שמחה ולדמן (talk) 12:51, 6 September 2017 (UTC)[reply]
is by definition the largest integer which is . is an integer which is . What does that say about the relation between and ? -- Meni Rosenfeld (talk) 15:25, 6 September 2017 (UTC)[reply]
We get . But how does it prove  ? יהודה שמחה ולדמן (talk) 16:03, 6 September 2017 (UTC)[reply]
Oh! I think I get it now! How could I have ben so blind!?
It's all in the definition of (and "maybe" too). יהודה שמחה ולדמן (talk) 16:48, 6 September 2017 (UTC)[reply]

LaTeX mathematics color code[edit]

Why does \color{"color"}{"formula"} work on wikipedia, but on wikibooks you must use {\color{"color"}"formula"}? יהודה שמחה ולדמן (talk) 19:35, 5 September 2017 (UTC)[reply]

Please post a real example. I tried <math>\color{red}{42}</math> and it worked both at the English Wikibooks and here: . PrimeHunter (talk) 21:32, 5 September 2017 (UTC)[reply]
Forgot to mention – \color{"color"}{"formula"} works on wikibooks, but it colors all the characters outside the brackets too. יהודה שמחה ולדמן (talk) 21:38, 5 September 2017 (UTC)[reply]
PLEASE POST A REAL EXAMPLE. Not pseudocode or a description but an actual example which renders differently at Wikipedia and Wikibooks. What is your math setting at Special:Preferences#mw-prefsection-rendering at Wikipedia and Wikibooks? Are you using the same browser? There have been cases where different Wikimedia servers gave different results for formulas. PrimeHunter (talk) 22:08, 5 September 2017 (UTC)[reply]
I'm using PNG images at both. יהודה שמחה ולדמן (talk) 22:12, 5 September 2017 (UTC)[reply]
Without an example of the alleged issue I give up trying to help. PrimeHunter (talk) 22:19, 5 September 2017 (UTC)[reply]
Here: . יהודה שמחה ולדמן (talk) 22:36, 5 September 2017 (UTC)[reply]
It's fully blue for me at both Wikipedia and Wikibooks. Is "+ b" black for you here? Help:Displaying a formula#Color mentions there can be a difference for some notations. PrimeHunter (talk) 23:23, 5 September 2017 (UTC)[reply]
Fully blue for me. יהודה שמחה ולדמן (talk) 23:33, 5 September 2017 (UTC)[reply]
So do you have an example with the alleged difference between Wikipedia and Wikibooks? If your post is just about invalid color code not giving the result you want then change it to valid code per Help:Displaying a formula#Color. PrimeHunter (talk) 12:54, 6 September 2017 (UTC)[reply]
Are you saying I could redefine LaTeX codes? יהודה שמחה ולדמן (talk) 13:05, 6 September 2017 (UTC)[reply]
I tried your example in two external online LaTeX editors and both rendered it fully blue. I'm not a LaTeX expert but I think you just have a wrong expectation about where the color ends when you don't specify it with a bracket around \color. Anyway, Help:Displaying a formula says: "MediaWiki renders mathematical equations using a combination of html markup and a variant of LaTeX." Do you have example code which doesn't render as MediaWiki documentation says it should? If so then please give the exact code and say where you tested it and how it differs from your expectation. PrimeHunter (talk) 13:52, 6 September 2017 (UTC)[reply]
@יהודה שמחה ולדמן: What PrimeHunter is trying to get out of you is something in the form "I did X, I expected Y, but Z≠Y happened", with X, Y and Z very precisely stated. A very important reason for that is that you may answer your own question when trying to produce such a description. I encourage you to read [1] for more details. TigraanClick here to contact me 14:37, 6 September 2017 (UTC)[reply]

integer points on a particular elliptic curve[edit]

The equation is y^2=x^3-x+3. Are there any integral solutions besides (2,3) and (2,-3)?144.35.45.46 (talk) 22:55, 5 September 2017 (UTC)[reply]

Nope. You can find integral solutions using Sage or Mathematica. C0617470r (talk) 07:20, 6 September 2017 (UTC)[reply]