Re: Computing integer sequences via integrals

Loïc Grenié <[email protected]>
Newsgroups gmane.comp.mathematics.pari.devel
Message-ID <CAMLkfFSFNC9SbArFU-Owth356sdPJ0PX3etgX=mhQkYzt-dU-w@mail.gmail.com>
On Sat Jan. 21st, 2023, at 18:00, Georgi Guninski wrote:

> Many thanks for the answer.
>
> Is there simple "primitive" for computing \int 2^2^floor(x) dx?
>

    It's not clear what you want to integrate: 2^floor(x)? In that case,
  I think

(x-floor(x))*2^floor(x) + 2^(floor(x)+1)-1

  should be equal to

\int_0^x 2^floor(t) dt.

You write jumps cause problems.
> A lot of builtin functions have jumps, e.g. tan().
> Are (definite) integrals with tan() problem?
>

     Definitely if you include a jump: the integral is not convergent.
Otherwise,
   everything is fine (and you do not see the jumps).

        Best,

            Loïc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.