Let $p$ be a prime. Compute $1^k + 2^k + \ldots + (p-1)^k \pmod{p}$.
What is $1^k+2^k+\cdots+ (p-1)^k$ modulo $p$? (From Ireland and Rosen).
Can I take a sex-toy on plane through UAE? I will be traveling from Australia to Austria, transferring in Abu Dhabi. Is it alright for me to bring a vibrator in the check-in luggage, or are there laws against that?  It is approximately 17cm long. Are there any precautions to take? Control Android with broken screen from PC My rooted Galaxy Nexus has a broken screen. How can I use my PC (ie, via ADB) to control the phone?  androidscreencast would be the ideal solution, but its keyboard/mouse control feature does not work in Jelly Bean. Perhaps someone knows why and we can patch the code? (see: )  Installing a VNC server is another, but for the love of me I can't get it to work. Eg, using Droid VNC Server, I install the apk, and am supposed to execute /data/data/org.onaips.vnc/files/androidvncserver but there is no files directory inside org.onaips.vnc (instructions from here: ). VMLite is another VNC server that can be started with a special Windows utility (and doesn't need root!) but it's not OSS so I can't get the apk in order to install (Google Play is not pushing apps to my phone prob because I disabled some service--let me know if I can force Google Play to update itself from ADB or install the app). fastdroid-vnc is a binary (not apk) and it runs fine via shell, but something is broken and it shows nothing.  What are my options? Let's make this a community wiki, to help anyone who's broken their screen! I am given the information that $ \vec{u} = \langle 1, 1/2 \rangle$ and $\vec{v} = \langle 2,3 \rangle$.   There are a few pieces I am asked to find, and these are the one I am having trouble with:   $\left\Vert \large \frac{\vec{u}}{|| \vec{u}||}\right\Vert$  The magnitude of vector u is $ \sqrt{5}/2$, of which I correctly calculated; the unit vector is then $ \langle \large \frac{2 \sqrt{5}}{5}, \frac{ \sqrt{5}}{5} \rangle$. However, when I go to find the magnitude of the unit vector, I get $ \sqrt \frac{3}{5}$, which is clearly not one. What did I do wrong? How do I get an up/parent button in Nautilus, without using breadcrumbs? Why does my Nikon D3100 give the error "Lens not attached" with a Vivitar 200 telephoto lens? I have a Nikon D3100 camera, and am trying to use an "Automatic Fixed Mount Vivitar 200mm lens" with it. When I attach the lens, I get the message "Lens not attached". and nothing works. HELP!  I can't easily take it to a camera shop, as I live in the Mojave Desert, about 200 miles away from any camera shop. This is a new lens, and a new camera. "You've earned (badge)" panel layouts are broken When I visit  I see this:     The "Congratulations! You've earned (badge)" section has dropped down completely beneath the tabs under it. The "You've earned a new privilege!" section has a gap at the bottom:     Shog9 says in comments how to reproduce this:     Gotta have earned a badge, not dismissed the notification, and be looking at your own profile. Evolution of the Redundancy of the Genetic Code How does a lurker gain reputation to receive privilege for commenting? I have been reading Stack Exchange for years - mostly not logged in, and have never posted (this is my first). I'm simply not very talkative, and very good at googling.  Recently a few occasions have come up when I've wanted to comment on a question.  I wanted either to ask for, or provide, clarification which did not warrant a new answer.  How do I gain enough reputation to comment without:   asking questions which have already been answered or that I can figure out on my own, or posting my comment like as an answer (i.e. being  rude)? I have an external hard drive and I did something which I shouldn't have done, and I am annoyed that many files are prompting me about Administrator permissions to move a folder.  They are regular files.  How do I reset all the permission on the external hard drive? How to close view windows? Does a finite $[E:K]_s$ imply that $[E_s:K]$ is finite? Let $E/K$ be an algebraic extension of fields and denote by $E_s$ the separable closure of $K$ in $E$, i.e. the set of all elements of $E$ that are separable over $K$ (which can be shown is a (separable) subfield of $E$).  I would like to show that the implication     $\left[E:K\right]_s &lt; \infty \implies \left[E_s:K\right] &lt; \infty$   holds, where $\left[E:K\right]_s$ denotes the separable degree of $E/K$ and $\left[E_s:K\right]$ the 'ordinary' degree of $E_s/K$.  In the textbook I am learning with, it is said that one could use the Primitive Element Theorem to do this, but I would also be fine with any other approach, as long as it's not getting too fancy and staying in the realm of 'common' textbook theorems known when dealing with separable extensions (and I didn't see how the Primitive Element Theorem would help).  This is not my focus (I want to write a Bachelor's thesis about polynomial factorizing elements of $\mathbb{Z}[X]$), but I'm in the process of reading into commutative algebra after about 1.5 years break from it.  My idea was something like assuming $\left[E_s:K\right] &lt; \infty$ and $\left[E_s:K\right] = \infty$ to construct infinitely many $K$-homomorphisms $E_s/K \longrightarrow C/K$, where $C$ is some algebraic closure of $E_s$, which would then contradict $\left[E_s:K\right]_s = \left[E_s:K\right] &lt; \infty$. Of course, an infinite basis would yield infinitely many $K$-vector space homomorphisms, but getting (infinitely many) ring morphisms seems to by an entirely different ting (unsurprisingly so...). Thought of using something like     Given two roots of the minimal polynomial of one of the infinitely many elements of a $K$-basis of $E_s/K$, there is a $K$-morphism $E_s/K \longrightarrow C/K$ that sends one to the other.   but this didn't seem very fruitful. I admit I haven't spent hours on this, I just didn't get very far and should focus on moving on, while still getting an answer on the 'howto' along the road would be really nice. Lenovo Legion Y720 laptop Keyboard backlight I just moved from Windows to Ubuntu, but I cannot get the keyboard backlight to work at all. On Windows there was a specific program for controlling the backlight. I have searched for days now without luck. Anyone got a solution?  I am using Ubuntu 18.04 I want to log out of Stack Overflow or any Stack Exchange site, but always it shows me logged in!  How do I log out of this site?  Note: I have yet to register; the site currently always shows my name and default email. I wish to log out so that I may start a new session! If the earth would stop spinning, what would happen? Crop a big picture into several small size pictures Is there a a way with GIMP editor to crop a big picture into several small equal sized pictures? So when all those small pictures connected in order would make a big picture. Favorite questions in the Android app I haven't been able to find my favorite questions in the official Stack Exchange Android app.  Looking at my accounts page gives nothing on them. Using apt-get how to check have installed latest version ? Hello im just new for Linux   I know that  sudo apt-get   is for installing application   but how I would know that I have installed the latest version of the application   for example apt-get install sun-java6-jdk   is there an option to upgrade or see the latest version   or its ok to install an old version the application and Linux will upgrade it for me ? That is, what are some good examples of vector spaces which are inner product spaces but in which not every Cauchy sequence converges? What is the difference between '/' and '//' when used for division? How to solve this limit: $\lim\limits_{x\to0}\frac{(1+x)^{1/x}-e}x$? I tried to evaluate $$\lim_{x\to0}\frac{(1+x)^{1/x}-e}x$$but all my efforts were in vain . L'Hospital rule becomes very complicated.