These situations can be said to be mathematical observation ability. If your mathematical observation ability is good enough, you can be found, because children like this or students like this are gifted, and it is very rare to bring such talent without any teaching.
Then the mathematical observation ability like this can be cultivated, and it can also be cultivated to a high level, so the mathematical observation ability is mainly reflected in these aspects, and this is only a partial aspect, and there are many other aspects.