Integrate x raised to the power x, with the sign of the exponent flipped, from 0 to 1: the first link's panel prints 1.29128599706. Its partner, on the second link, is ∫₀¹ x^x dx = 0.783430510711. Neither has an antiderivative expressible in elementary functions, and yet both equal a series so plain that Bernoulli wrote it down in 1697: expand e^(−x ln x) as a power series, integrate x^k(ln x)^k term by term, and the answer is 1 + 1/4 + 1/27 + 1/256 + 1/3125 + ⋯, one term per n^(−n). The third link adds the first three of those and lands on 1.287037037037; the fourth is 4⁴ = 256, one of the denominators, and everything after the 5⁵ term is under 0.00003 in total.
The single computation that does all the work is ∫₀¹ x^k(ln x)^k dx = (−1)^k·k!/(k+1)^(k+1), which is the gamma function after the substitution u = (k + 1)(−ln x) — and the factorial in the numerator cancels the k! from the exponential series, which is why the surviving denominators are (k+1)^(k+1) and nothing more complicated. That cancellation is the whole dream, and it is why the two integrals are so tidy: 0.783430510711 and 1.29128599706 are each a series of rational numbers with no closed form in π, e or radicals. Bernoulli published it in 1697; the name it now carries is four centuries younger, and is a joke about the other impossible algebraic identity students believe in, the one that survives only in characteristic p.
Answer
1.29128599706
How to read it
The panel's integral of x^(−x) over 0 to 1. The second link is its partner x^x, the third three terms of the series, the fourth a denominator inside it.
Source
Johann Bernoulli, 1697, on ∫x^(−x)dx and ∫x^x dx; the nickname 'sophomore's dream' is from Borwein, Bradley and Crandall's 2004 article, in parody of the freshman's dream (a + b)^n = a^n + b^n
Work it in the calculator
These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.