Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ sumOfSeries
Function
sumOfSeries
ARKA.py:1–3 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
1
def
sumOfSeries(n):
2
x = n * (n + 1) / 2
3
return
(int)(x * x)
4
5
6
# Driver Function
Callers
1
ARKA.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected