Pairs with common factors: Difference between revisions

m
further clarification
m (missing comma)
m (further clarification)
Line 26:
 
<big>''a(n) = n × (n-1) / 2 + 1 - 𝚺{i=1..n} 𝚽(i)''</big>
 
where 𝚽() is Phi; the Euler totient function.
 
 
For the term '''a(p)''', if '''p''' is prime, then '''a(p)''' is equal to the previous term.
10,333

edits