If k is the smallest divisor of n that is >= sqrt(n) then a(n) = k^2 - n.

A139717

If k is the smallest divisor of n that is >= sqrt(n) then a(n) = k^2 - n.

Terms

    a(0) =0a(1) =2a(2) =6a(3) =0a(4) =20a(5) =3a(6) =42a(7) =8a(8) =0a(9) =15a(10) =110a(11) =4a(12) =156a(13) =35a(14) =10a(15) =0a(16) =272a(17) =18a(18) =342a(19) =5a(20) =28a(21) =99a(22) =506a(23) =12a(24) =0a(25) =143a(26) =54a(27) =21a(28) =812a(29) =6

External references