Okay so basically an integer is just a whole number that isn’t a fraction. Comparing integers is basically comparing whole numbers. For example, comparing the numbers 2 and 34 would be 2<34 and that’s comparing them to each other! :)
The pattern is adding together the two previous numbers. 6+18=24, and 18+24=42, so the next step is to add 24+32 which equals 56, so the next number is 56