Take ANY three consecutive numbers with the largest divisible by 3. Add them. If the sum as multiple digits add the digits. Else done. Again if multiple digits, add them, etc etc. Once you arrive at a single digit number the result will be 6.
If the three consecutive numbers had the smallest divisible by three, the result will always be 3.
If the middle one , etc, thre result will always be 9.