Solutions to a'th root of 1 mod p if gcd(a, p-1)=1
Solve $x^{5} \equiv 2$ mod $221\ $ [Taking modular $k$'th roots if unique]
How to open a web page from my application? How do I display a decimal value to 2 decimal places? When displaying the value of a decimal currently with .ToString(), it's accurate to like 15 decimal places, and since I'm using it to represent dollars and cents, I only want the output to be 2 decimal places.   Do I use a variation of .ToString() for this? Characterizing non-constant entire functions with modulus $1$ on the unit circle Is there a characterization of the nonconstant entire functions $f$ that satisfy $|f(z)|=1$ for all $|z|=1$?   Clearly, $f(z)=z^n$ works for all $n$. Also, it's not difficult to show that if $f$ is such an entire function, then $f$ must vanish somewhere inside the unit disk. What else can be said about those functions?  Thank you. I just browsed through this wonderful book: . The irony is, I am still not able to understand the motivation for using multivariate (regression) models instead of separate univariate (regression) models. I went through stats.statexchange posts  and  that explain (a) difference between multiple and multivariate regression and (b) interpretation of multivariate regression results, but I am not able to tweak out the use of multivariate statistical models from all the information I get online about them.   My questions are:   Why do we need multivariate regression? What is the advantage of considering outcomes simultaneously rather than individually, in order to draw inferences. When to use multivariate models and when to use multiple univariate models (for multiple outcomes).  Take an example given in the  with three outcomes: locus of control, self-concept, and motivation. With respect to 1. and 2., can we compare the analysis when we do three univariate multiple regression versus one multivariate multiple regression? How to justify one over another? I haven't come across many scholarly papers that utilize multivariate statistical models. Is this because of the multivariate normality assumption, the complexity of model fitting/interpretation or any other specific reason? Word for in-house jargon Why did Bane/Smith cut himself? In the Matrix part II and the beginning of part III the crew member who was infected by Agent Smith (Bane) cuts himself.   The female crew member in part III who brought Trinity food told her the same and speculated that they might be "VDT's".  I don't fully understand this. What are VDT's and why would Agent Smith engage in self-cutting unless he has borderline personality disorder or depression or something? Can a concentration spell be cast without actually concentrating on it for an "instant" effect? The book says:     Concentration. Some spells require you to maintain concentration in order to keep   their magic active. If you lose concentration, such a spell ends.   So what happens if, for example, you are already concentrating on a spell, and cast Witch Bolt without concentrating. Would you get the initial arc of blue energy, or would it not even go off?  I am asking if you can cast a spell that says concentration without concentrating for an immediate effect. This would be useful to avoid interrupting your existing concentration. In essence, if you are concentrating on thing A (doesn't have to be a spell since other things need concentration), can you cast a concentration spell getting an immediate effect without losing concentration on thing A?  Since the definition of concentration is to keep the spell active (meaning it is already active) I would think that you would get the initial effect (if it had one) without the need to concentrate on it. How can we play split screen in the XBOX 360 version of Minecraft? My little brother and I want to play Minecraft together on the Xbox 360, and we heard there was a split screen option. We've looked inside the options menu but weren't able to find it. Does the game really have a split screen option, and if so, how do we enable it? Math notation in LaTeX? How can I write e^(3j) in LaTeX?  I have tried many syntax, like $e^(3j)$ or $e^*{3j}$  Any help will be very well received. How to ignore accent in SQLite query (Android) Obtain user and kernel time of a running process? Is there way to determine using standard Linux/Unix tools how much a process has spent in User mode and how much waiting for kernel?  In other words, exactly the "user" and "sys" values that you get when using time, but during process runtime?  NOTE: one way is to use WBEM and enumerate Linux_UnixProcess, but I need to use other tool than this; my aim is to verify what WBEM provider tells me, i.e. I need to use different tool. Provisioning Profiles menu item missing from Xcode 5 Could you tell me how to prove that if two series $ \sum_{n=0} ^{\infty}x_n, \sum_{n=0} ^{\infty} y_n$ are convergent, then $\sum_{n=0} ^{\infty}(\alpha \cdot x_n + \beta \cdot y_n)$ is also convergent and its sum equals $\alpha \cdot \sum_{n=0} ^{\infty} x_n + \beta \cdot \sum_{n=0} ^{\infty} y_n$? Prove that if $\sum{a_n}$ converges absolutely, then $\sum{a_n^2}$ converges absolutely I'm trying to re-learn my undergrad math, and I'm using Stephen Abbot's Understanding Analysis. In section 2.7, he has the following exercise:  Exercise 2.7.5 (a) Show that if $\sum{a_n}$ converges absolutely, then $\sum{a_n^2}$ also converges absolutely. Does this proposition hold without absolute convergence?  I'm posting about this here because my answer to that last question about whether the proposition holds without absolute convergence is "Yes", but my suspicions are raised by him merely asking the question. Usually questions like this are asked to point out that certain conditions are necessary in the statement of propositions, theorems, etc. I just want to see if I'm missing something here.  Anyway, here's how I prove the absolute convergence of $\sum{a_n^2}$, and note that I never use the fact that $\sum{a_n}$ is absolutely convergent:  Proof: Let $s_n = \sum_{i=1}^n{a_n^2}$. I want to show that $(s_n)$ is a Cauchy sequence. So, let $\epsilon &gt; 0$ and $n &gt; m$, and consider, \begin{equation}   \begin{aligned}     |s_n - s_m| &amp;= |(a_1^2 + a_2^2 + \cdots a_n^2) - (a_1^2 + a_2^2 + \cdots a_m^2)|\\                 &amp;= |(a_{m+1})^2 + (a_{m+2})^2 + \cdots + a_n^2|\\                 &amp;= |a_{m+1}|^2 + |a_{m+2}|^2 + \cdots + |a_n|^2\\   \end{aligned} \end{equation} Now, since $\sum{a_m}$ converges, the sequence $(a_m)$ has limit 0. Therefore I can choose an $N$ such that $|a_m| &lt; \sqrt{\epsilon/n}$ for all $m &gt; N$. So for all $n &gt; m&gt; N$,  we have, \begin{equation}   \begin{aligned}     |s_n - s_m| &amp;= |a_{m+1}|^2 + |a_{m+2}|^2 + \cdots + |a_n|^2\\                 &amp;&lt; \left(\sqrt{\frac{\epsilon}{n}}\right)^2 + \left(\sqrt{\frac{\epsilon}{n}}\right)^2 + \cdots + \left(\sqrt{\frac{\epsilon}{n}}\right)^2\\                 &amp;&lt; \left(\sqrt{\frac{\epsilon}{n-m}}\right)^2 + \left(\sqrt{\frac{\epsilon}{n-m}}\right)^2 + \cdots + \left(\sqrt{\frac{\epsilon}{n-m}}\right)^2\\                 &amp;= \epsilon   \end{aligned} \end{equation} Therefore $(s_n)$ is Cauchy and $\sum{a_n^2}$ converges. And since $\sum{a_n^2} = \sum{|a_n^2|}$, the series $\sum{a_n^2}$ is absolutely convergent. &#x220E;  Am I doing something wrong here? Am I right in thinking that $\sum{a_n}$ need not be absolutely convergent for $\sum{a_n^2}$ to be absolutely convergent? Find total number of relations that are equivalence as well as partial order set. Assume set contains total $n$ elements.     My attempt:  As equivalence relation has property reflexive, symmetric and transitive and POSET has property reflexive, antisymmetric and transitive.  Symmetric and antisymmetric will cancle each other except reflexive relation and transitive relation can case antisymmetric, so it's also absent on resultant relation.  Therefore, all diagonal element should be present to satisfy conditions of equivalence as well as POSET.  So, it's independent of number of total number of element of set and answer will be $1$.     Can you explain in formal way, please? I had recently entered the UK without a visa to be with my partner, from 21 July 2016 until 16 December 2016. I hope to return on the 9th of January. We don't meet the income requirement for a Spouse visa. I recently applied to university, and got in, and was intending to return to the UK on a student visa, but my university did not tell me about maintenance fees and my loan wasn't large enough to cover it all, so my visa would have been denied.  Now, I am hoping to attend university in the next semester, and therefore return to the US to apply for that visa. Do you think that if I try to return to the UK without a visa, I will be turned away?  I won't be working or studying during this time, however, I'm afraid that they'll consider it living in the UK illegally; I don't have a criminal record or anything like that. Pygame: Is there any easy way to find the letter/number of ANY alphanumeric pressed? Best way to migrate a huge SQL Server database with low downtime over network Problem definition  Our database server needs to be transferred to an other datacenter. It runs on Microsoft SQL Server 2012 Enterprise (64-bit) and contains two databases of about 2TB and 1TB.  Having little to no downtime for this would be ideal.  Workload  Those databases are used for a .NET website and are constantly getting updated.   Having it not available over the weekend would be acceptable though. The currently in use DB would remain the only one in use until the switch over to the new one.  That switch would ideally be made just by changing DNS entries to point to the new DB server while making sure the DB is not being updated.  Also, time taken by this operation does not really matter as long as the switch from one server to the other (downtime) is kept low.  Approaches considered   Backup and restore  This has been done in the past but involved a high downtime even though it was done through an internal network, so more efficiently than through Internet Log shipping  As far as I understand, this approach would minimize downtime by configuring a master/slave and transferring  an exact copy of the master DB to its slave being read only. As mentioned above, no access to the slave would be necessary and we just need a way to have a replica of the master DB without data corruption.   It also seems to be quite efficient in terms of resources utilization and wouldn't impact to much the master performance.   I might be wrong about this approach so feel free to correct me. Database mirroring  I'm not too aware of that approach but it seems like a valid option. No need to have real time sync and performance of the master is quite important so asynchronous would be the way to go if this approach were to be chosen. Other options?  That server runs directly on bare metal hardware so lower level solutions are unfortunately not an option. Maybe there is a better way to get this done?   Constraints  As described, those databases are quite big to the point they are hard to maintain but that's an other problem.  The versions of SQL Server will be the same (Microsoft SQL Server 2012 Enterprise 64-bit).  It will have to be transferred over network between two datacenters so most probably over Internet. Having disks sent from one site to the other for an initial sync is unfortunately not an option. Having some sort of security for the transfer would be ideal but we will do the best of this situation.  That should give a quite good overview of our needs for this task and hopefully some of you had to face that situation before. Two column float with [t] using the cas-dc template I am using the cas-dc template for Elsevier. When trying to use \begin{figure*}[t], except I get the error 'The module 'cas/fig' does not have a key called 'cas/fig/t'. Other templates I use work fine. I have included \usepackage{stfloats}. I don't see anything mentioned that strictly forbids it, unless I missed this. Anyone know why? EDIT:  It seems that I've also had edits that stacked well, so I'm not sure if I had a timing problem, or was just delusional.  The one thing that can be fixed, that I'll turn this question into, is a feature request so that when I go to re-edit (either within the 5-minute grace period, or before a suggested edit is approved), it brings up the old edit summary text.  Right now, it brings up a blank edit summary, and this replaced the first one I did.  This isn't really intuitive, and even knowing that's what it's doing, I still forget to put everything in.  Original Question:  It has happened a few times now, when on a site where I don't have edit privileges, that I make an edit.  I then see that the edit didn't work quite right, so I go back in to re-edit it.  This creates a brand new edit review, with an additional useless summary. How about we have the same grace period to re-edit your up-for-review edit, as there is for a normal edit? Of course, it wouldn't be possible once it's been approved.