This morning I was playing with the congruence implemented as Mod[m, n] in Wolfram Language, see the table from this MathWorld. I did these experiments with Wolfram Alpha online calculator:
Plot Mod[x^x, e^x]/x^x, for 0<x<20
and also with codes like this
integrate Mod[x^x, e^x]/x^x dx, from x=0 to 3
Question. Is it possible to deduce an approximation of $$\int_0^\infty \left(x^x\operatorname{ mod }e^x\right)\frac{dx}{x^x}?$$ Many thanks.