First Pass
Code

# Code
```python3 []
class Solution:

    def sumOfSquares(self, nums: List[int]) -> int:
        
        result = []

        for i in range(0,len(nums)):

            if len(nums) % (i+1) == 0:

                result.append(nums[i]**2)
        
        return sum(result)
        
        
```
['Python3']