Partial sums of the positive integers n according to the rule: if n is square then subtract n, otherwise add n.
A108174
Partial sums of the positive integers n according to the rule: if n is square then subtract n, otherwise add n.
Terms
- a(0) =0a(1) =-1a(2) =1a(3) =4a(4) =0a(5) =5a(6) =11a(7) =18a(8) =26a(9) =17a(10) =27a(11) =38a(12) =50a(13) =63a(14) =77a(15) =92a(16) =76a(17) =93a(18) =111a(19) =130a(20) =150a(21) =171a(22) =193a(23) =216a(24) =240a(25) =215a(26) =241a(27) =268a(28) =296a(29) =325
External references
- oeis: A108174