Searching in an array

I would like to search within several arrays. Suppose 1 array include 0,5,10,15, another includes 1,6,11,16,... a third 2,7,12,17,... up to 5 arrays.

I have a number of which I have to know in what array it is AND determine the index within that array.

I found ArrayIncludeElement in several programming languages, but that doesn't work in Arduino.

Please read the section about Arrays in the tutorial section, that explains how C/C++ arrays work.

wrt your question In short: you need to iterate yourself over the 5 arrays.

you can optimize it as you know that the if the number has to be found ends with N the array which contains it should be N%2 so you do not need to check the others.