Partial sums of the positive integers n according to the rule: if n is square then subtract sqrt(n) else add n.
A108167
Partial sums of the positive integers n according to the rule: if n is square then subtract sqrt(n) else add n.
Terms
- a(0) =0a(1) =-1a(2) =1a(3) =4a(4) =2a(5) =7a(6) =13a(7) =20a(8) =28a(9) =25a(10) =35a(11) =46a(12) =58a(13) =71a(14) =85a(15) =100a(16) =96a(17) =113a(18) =131a(19) =150a(20) =170a(21) =191a(22) =213a(23) =236a(24) =260a(25) =255a(26) =281a(27) =308a(28) =336a(29) =365
External references
- oeis: A108167