I mean something strictly mathematical and not an algorithmic routine.

For example

The function f(n) produces

1,2,0,0,0,5,0,1,3,8,9,0,0, ...

I need the function f(n) remove the zeros and produces:

1, 2, 5, 1, 3, 8, 9, ...

More José de Jesús Camacho Medina's questions See All
Similar questions and discussions