The sum of the squares of two positive consecutive numbers is 130.find the number

You made a typo.

The sum of the squares of two consecutive numbers cannot be 130.

For example:

6² +7² = 36 + 49 = 58

7² + 8² = 49 + 64 = 113

8² + 9² = 61 + 81 = 145

etc.