Skip to main content
6 of 7
added 23 characters in body
Mr. Xcoder
  • 42.5k
  • 9
  • 81
  • 214

Jelly, 8 bytes

ASŒRḅ@Ðḟ

Try it online! or as a test-suite!

##How?

ASŒRḅ@Ðḟ || Full program (monadic link).

AS        || Sum the absolute values.
  ŒR      || And create the symmetric inclusive range from its negative value.
       Ðḟ || And discard those that yield a truthy value...
     ḅ@   || When plugging them into the polynomial (uses base convertion).

Based off Luis' answer. An alternative.

Mr. Xcoder
  • 42.5k
  • 9
  • 81
  • 214