« first day (2946 days earlier)      last day (448 days later) » 

12:55 AM
2
Q: How can one deduce an approximation for the density function of prime numbers from this Euler's theorem?

Sergio Durán VegaThe author of Riemann's Zeta Function, H.M.Edwards, says: According to Euler, $\sum_{p<x}\frac{1}{p}\sim \log(\log(x))$ when $x\longrightarrow\infty$. $\log(\log(x))=\int_{1}^{\log(x)} \frac{du}{u}=\int_{e}^{x} \frac{dv}{v\log(v)}$ so (1) says that the integral of $\frac{1}{v}$ relative to th...

 
1:07 AM
3
Q: Why square root of 1 is 1 but square root of 0.1 is 0.316, again square root of 0.01 is 0.1

EdoardoI would like to understand the reason behind this pattern: $\begin{align} \sqrt 1 &= 1 \\ \sqrt{0.1} &= 0.31622 \\ \sqrt{0.01} &= 0.1 \\ \sqrt{0.001} &=0.03162 \\ \sqrt{0.0001}&=0.01 \\ \sqrt{0.00001}&=0.003162 \end{align}.$ I expected $\sqrt{0.1}$ to "behave" in a similar way to $\sqrt 1$... Why...

 
 
2 hours later…
2:49 AM
0
Q: Nginx app structure for REST api and front end

NickWI've a separate front and back end. I'd like to be able to use sameSite:'strict' in my FE cookies, and I think using a subdomain fulfils the same site requirements So I was planning to use api.example.com for the backend, and www.example.com for the front, and then use relevant server block to se...

 
 
5 hours later…
7:26 AM
2
Q: Turn a real number (with a complex closed form) into its trigonometric form

Ashton DowlingThis post outlines 'fake' complex numbers (real numbers with complex closed form that usually come from the roots of unfactorable cubics (the example I need right now), or they can come from things like $i^i = e^{-\frac{\pi}{2}}$), in his own answer he gives the example: $\sqrt[3]{1+i \sqrt{7}}+\...

 
 
8 hours later…
3:08 PM
2
Q: Extension of the trivial bundle by the canonical bundle on a curve

Daebeom ChoiLet $X$ be a smooth projective curve over a field $k$ and $K_X$ be its canonical line bundle. By the Serre duality, $\text{H}^1(X,K_X)$ is a one-dimensional $k$-vector space. On the other hand, $\text{H}^1(X,K_X)=\text{Ext}^1(O_X,K_X)$ so this vector space corresponds to the set of extensions of ...

 
 
8 hours later…
10:38 PM
6
Q: Why std::tuple comparison calls operator bool when operator< overload is provided

felix#include <tuple> struct X { int i = 0; friend constexpr bool operator<(const X &l, const X &r) noexcept { return l.i < r.i; } }; struct Y { int i = 0; constexpr operator bool() const noexcept { return i != 0; } friend constexpr bool operator<(const Y &...

 

« first day (2946 days earlier)      last day (448 days later) »